Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated readme to include build steps #129

Merged
merged 2 commits into from
Jun 26, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -1,3 +1,33 @@
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 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()