Go to file
sigiesec 16a76513e3 Problem: poller_t is copyable, but does not implement copying properly
Solution: make poller_t non-copyable, but properly movable
2018-03-26 16:58:13 +02:00
libzmq-pkg-config call pkg-config fallback FindZeroMQ.cmake 2018-01-13 14:13:38 -08:00
.gitignore .gitignore added 2017-01-09 11:50:50 +01:00
CMakeLists.txt fix installation source path of FindZeroMQ.cmake 2018-01-16 16:13:02 +08:00
cppzmqConfig.cmake.in fix updated FindZeroMQ 2018-01-15 10:43:00 -08:00
LICENSE Added license and link to C4.1 contribution policy 2013-05-10 07:39:40 -04:00
README.md Markdowning the README 2017-10-10 17:15:28 -04:00
zmq_addon.hpp Added an operator<<(std::ostream) to easily print out multipart_t contents using already defined str() method. 2018-03-07 14:11:41 +01:00
zmq.hpp Problem: poller_t is copyable, but does not implement copying properly 2018-03-26 16:58:13 +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()