Go to file
Pawel Kurdybacha 6caa5d19d3 Problem: message_t should be easier to construct
* Added overload constructor (c++11 only) taking iteratable object.
  It would be easier to use std::string, std::array etc to construct
  a message now. Making it a draft for now in case it is too greedy
  and needs to be more specialize.
* Added equal and not euqal operator to message_t as a recommended
  and expected way of comparing objects in C++.
* deprecated C style equal method as operator== should be used instead
  (point above).
* Added message_t test covering all available message_t's constructors
2018-04-14 12:13:44 +01:00
cmake Problem: version detection broken, confuses libzmq and cppzmq versions 2018-03-28 12:58:12 +02:00
demo Problem: code coverage not working 2018-04-03 18:41:32 +02:00
external/gtest-demo Problem: no test infrastructure 2018-03-29 18:11:28 +02:00
libzmq-pkg-config Problem: No tests for libzmq 4.2.0 2018-04-03 18:41:44 +02:00
tests Problem: message_t should be easier to construct 2018-04-14 12:13:44 +01:00
.gitignore .gitignore added 2017-01-09 11:50:50 +01:00
.travis.yml Problem: no build/tests with DRAFT 2018-04-03 18:41:44 +02:00
ci_build.sh Problem: no build/tests with DRAFT 2018-04-03 18:41:44 +02:00
CMakeLists.txt Problem: Draft build not enabled for git cloned cppzmq. 2018-04-07 15:08:24 +01: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 Added include directory to CMake instructions 2018-04-08 11:58:55 +01:00
version.sh Problem: version detection broken, confuses libzmq and cppzmq versions 2018-03-28 12:58:12 +02: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: message_t should be easier to construct 2018-04-14 12:13:44 +01: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(${ZeroMQ_INCLUDE_DIR} ${cppzmq_INCLUDE_DIR})
    target_link_libraries(*Your Project Name* ${cppzmq_LIBRARY})
endif()