File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1
1
This is C++ binding for 0MQ
2
2
3
3
The contribution policy is at: http://rfc.zeromq.org/spec:22
4
+
5
+ Build steps:
6
+ 1) Build 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 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
19
+
20
+ Using this:
21
+
22
+ A cmake find package scripts is provided for you to easily include this library.
23
+ Add these lines in your CMakeLists.txt to include the headers and library files of
24
+ cpp zmq (which will also include libzmq for you).
25
+
26
+ #find cppzmq wrapper, installed by make of cppzmq
27
+ find_package(cppzmq)
28
+ if(cppzmq_FOUND)
29
+ include_directories(${cppzmq_INCLUDE_DIR})
30
+ target_link_libraries(*Your Project Name* ${cppzmq_LIBRARY})
31
+ endif()
32
+
33
+
You can’t perform that action at this time.
0 commit comments