mirror of
https://github.com/zeromq/cppzmq.git
synced 2025-04-23 08:52:33 +02:00
document CPPZMQ_BUILD_TESTS and adjust formatting and semantics
document CPPZMQ_BUILD_TESTS add git clone step adjust semantics to be more clear formatting
This commit is contained in:
parent
6541dd1ce9
commit
835ca4fba3
34
README.md
34
README.md
@ -163,25 +163,27 @@ Build instructions
|
|||||||
Build steps:
|
Build steps:
|
||||||
|
|
||||||
1. Build [libzmq](https://github.com/zeromq/libzmq) via cmake. This does an out of source build and installs the build files
|
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
|
- `git clone https://github.com/zeromq/libzmq.git`
|
||||||
- mkdir build
|
- `cd libzmq`
|
||||||
- cd build
|
- `mkdir build`
|
||||||
- cmake ..
|
- `cd build`
|
||||||
- sudo make -j4 install
|
- `cmake ..`
|
||||||
|
- `sudo make -j4 install`
|
||||||
|
|
||||||
2. Build cppzmq via cmake. This does an out of source build and installs the build files
|
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
|
- `git clone https://github.com/zeromq/cppzmq.git`
|
||||||
- mkdir build
|
- `cd cppzmq`
|
||||||
- cd build
|
- `mkdir build`
|
||||||
- cmake ..
|
- `cd build`
|
||||||
- sudo make -j4 install
|
- `cmake ..` or `cmake -DCPPZMQ_BUILD_TESTS=OFF ..` to skip building tests
|
||||||
|
- `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
|
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
|
- `git clone https://github.com/Microsoft/vcpkg.git`
|
||||||
- cd vcpkg
|
- `cd vcpkg`
|
||||||
- ./bootstrap-vcpkg.sh # bootstrap-vcpkg.bat for Powershell
|
- `./bootstrap-vcpkg.sh` (bootstrap-vcpkg.bat for Powershell)
|
||||||
- ./vcpkg integrate install
|
- `./vcpkg integrate install`
|
||||||
- ./vcpkg install cppzmq
|
- `./vcpkg install cppzmq`
|
||||||
|
|
||||||
Using this:
|
Using this:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user