From f1ce18169fff25c48d78671fe9e380e0722a5c1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Gagnon-Grenier?= Date: Tue, 10 Oct 2017 17:10:40 -0400 Subject: [PATCH] Markdowning the README --- README => README.md | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) rename README => README.md (62%) diff --git a/README b/README.md similarity index 62% rename from README rename to README.md index dd98bcd..8bf5dd3 100644 --- a/README +++ b/README.md @@ -3,19 +3,20 @@ This is C++ binding for 0MQ The contribution policy is at: http://rfc.zeromq.org/spec:22 Build steps: -1) Build [libzmq](https://github.com/zeromq/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 +1. Build [libzmq](https://github.com/zeromq/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: @@ -23,11 +24,13 @@ 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() +```