Go to file
Luca Boccassi 4aa36ce296 Merge pull request #162 from sigiesec/revert-161-patch
Revert "Fix compile error for libzmq 4.2.1 and 4.2.2"
2017-10-09 15:22:03 +01:00
.gitignore .gitignore added 2017-01-09 11:50:50 +01:00
CMakeLists.txt added QUIET to avoid false cmake warning (missing ZeroMQ) 2017-08-17 21:15:23 +02:00
cppzmqConfig.cmake.in added QUIET to avoid false cmake warning (missing ZeroMQ) 2017-08-17 21:15:23 +02:00
libzmqPkgConfigFallback.cmake fix libzmqPkgConfigFallback.cmake for find library in macOS and MinGW 2017-10-07 22:58:12 +08:00
LICENSE Added license and link to C4.1 contribution policy 2013-05-10 07:39:40 -04:00
README typo fix 2017-07-07 14:06:36 +08:00
zmq_addon.hpp changed peektyp() to const 2017-08-17 21:56:16 +02:00
zmq.hpp Revert "Fix compile error for libzmq 4.2.1 and 4.2.2 (#161)" 2017-10-09 16:10:44 +02:00

This is C++ binding for 0MQ

The contribution policy is at: http://rfc.zeromq.org/spec:22

Build steps:
1) Build 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

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

Using this:

A cmake find package scripts is provided for you to easily include this library.
Add these lines in your CMakeLists.txt to include the headers and library files of
cpp zmq (which will also include libzmq for you).

#find cppzmq wrapper, installed by make of cppzmq
find_package(cppzmq)
if(cppzmq_FOUND)
    include_directories(${cppzmq_INCLUDE_DIR})
    target_link_libraries(*Your Project Name* ${cppzmq_LIBRARY})
endif()