Skip to content

Commit 8055314

Browse files
authored
Merge pull request #165 from Zvax/patch-2
Markdowning the README
2 parents 7a2be6a + f1ce181 commit 8055314

File tree

1 file changed

+16
-13
lines changed

1 file changed

+16
-13
lines changed

README renamed to README.md

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,34 @@ This is C++ binding for 0MQ
33
The contribution policy is at: http://rfc.zeromq.org/spec:22
44

55
Build steps:
6-
1) Build [libzmq](https://github.com/zeromq/libzmq) via cmake. This does an out of source build and installs the build files
7-
download and unzip the lib, cd to directory
8-
mkdir build
9-
cd build
10-
cmake ..
11-
sudo make -j4 install
12-
13-
2) Build cppzmq via cmake. This does an out of source build and installs the build files
14-
download and unzip the lib, cd to directory
15-
mkdir build
16-
cd build
17-
cmake ..
18-
sudo make -j4 install
6+
7+
1. Build [libzmq](https://github.com/zeromq/libzmq) via cmake. This does an out of source build and installs the build files
8+
- download and unzip the lib, cd to directory
9+
- mkdir build
10+
- cd build
11+
- cmake ..
12+
- sudo make -j4 install
13+
14+
2. Build cppzmq via cmake. This does an out of source build and installs the build files
15+
- download and unzip the lib, cd to directory
16+
- mkdir build
17+
- cd build
18+
- cmake ..
19+
- sudo make -j4 install
1920

2021
Using this:
2122

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

27+
```
2628
#find cppzmq wrapper, installed by make of cppzmq
2729
find_package(cppzmq)
2830
if(cppzmq_FOUND)
2931
include_directories(${cppzmq_INCLUDE_DIR})
3032
target_link_libraries(*Your Project Name* ${cppzmq_LIBRARY})
3133
endif()
34+
```
3235

3336

0 commit comments

Comments
 (0)