File tree Expand file tree Collapse file tree 1 file changed +16
-13
lines changed Expand file tree Collapse file tree 1 file changed +16
-13
lines changed Original file line number Diff line number Diff line change @@ -3,31 +3,34 @@ This is C++ binding for 0MQ
3
3
The contribution policy is at: http://rfc.zeromq.org/spec:22
4
4
5
5
Build steps:
6
- 1) Build [libzmq](https://github.com/zeromq/libzmq) via cmake. This does an out of source build and installs the build files
7
- download and unzip the lib, cd to directory
8
- mkdir build
9
- cd build
10
- cmake ..
11
- sudo make -j4 install
12
-
13
- 2) Build cppzmq via cmake. This does an out of source build and installs the build files
14
- download and unzip the lib, cd to directory
15
- mkdir build
16
- cd build
17
- cmake ..
18
- sudo make -j4 install
6
+
7
+ 1 . Build [ libzmq] ( https://github.com/zeromq/libzmq ) via cmake. This does an out of source build and installs the build files
8
+ - download and unzip the lib, cd to directory
9
+ - mkdir build
10
+ - cd build
11
+ - cmake ..
12
+ - sudo make -j4 install
13
+
14
+ 2 . Build cppzmq via cmake. This does an out of source build and installs the build files
15
+ - download and unzip the lib, cd to directory
16
+ - mkdir build
17
+ - cd build
18
+ - cmake ..
19
+ - sudo make -j4 install
19
20
20
21
Using this:
21
22
22
23
A cmake find package scripts is provided for you to easily include this library.
23
24
Add these lines in your CMakeLists.txt to include the headers and library files of
24
25
cpp zmq (which will also include libzmq for you).
25
26
27
+ ```
26
28
#find cppzmq wrapper, installed by make of cppzmq
27
29
find_package(cppzmq)
28
30
if(cppzmq_FOUND)
29
31
include_directories(${cppzmq_INCLUDE_DIR})
30
32
target_link_libraries(*Your Project Name* ${cppzmq_LIBRARY})
31
33
endif()
34
+ ```
32
35
33
36
You can’t perform that action at this time.
0 commit comments