Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

document CPPZMQ_BUILD_TESTS and adjust formatting and semantics of build instructions #646

Merged
merged 1 commit into from
Feb 3, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 19 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,25 +163,27 @@ Build instructions
Build steps:

1. Build [libzmq](https://github.com/zeromq/libzmq) via cmake. This does an out of source build and installs the build files
- download and unzip the lib, cd to directory
- mkdir build
- cd build
- cmake ..
- sudo make -j4 install
- `git clone https://github.com/zeromq/libzmq.git`
- `cd libzmq`
- `mkdir build`
- `cd build`
- `cmake ..`
- `sudo make -j4 install`

2. Build cppzmq via cmake. This does an out of source build and installs the build files
- download and unzip the lib, cd to directory
- mkdir build
- cd build
- cmake ..
- sudo make -j4 install

3. Build cppzmq via [vcpkg](https://github.com/Microsoft/vcpkg/). This does an out of source build and installs the build files
- git clone https://github.com/Microsoft/vcpkg.git
- cd vcpkg
- ./bootstrap-vcpkg.sh # bootstrap-vcpkg.bat for Powershell
- ./vcpkg integrate install
- ./vcpkg install cppzmq
- `git clone https://github.com/zeromq/cppzmq.git`
- `cd cppzmq`
- `mkdir build`
- `cd build`
- `cmake ..` or `cmake -DCPPZMQ_BUILD_TESTS=OFF ..` to skip building tests
- `sudo make -j4 install`

3. Alternatively, build cppzmq via [vcpkg](https://github.com/Microsoft/vcpkg/). This does an out of source build and installs the build files
- `git clone https://github.com/Microsoft/vcpkg.git`
- `cd vcpkg`
- `./bootstrap-vcpkg.sh` (bootstrap-vcpkg.bat for Powershell)
- `./vcpkg integrate install`
- `./vcpkg install cppzmq`

Using this:

Expand Down
Loading