1
+ [ ![ Build Status] ( https://travis-ci.org/ctabin/libzippp.svg?branch=master )] ( https://travis-ci.org/ctabin/libzippp )
1
2
2
3
libzippp
3
4
--------
@@ -20,16 +21,16 @@ Underlying libraries:
20
21
21
22
### LINUX
22
23
23
- 0 . Make sure you have the following commands: ``` g++ ``` ``` make ``` ``` tar ``` ``` wget `` `
24
- 1 . Download and compile the libraries (zlib and libzip) with the command: ``` make libraries `` `
25
- 2 . Then create the static and shared libraries of libzippp: ``` make `` `
26
- 3 . You may want to run the tests (optional): ``` make tests ```
24
+ 0 . Make sure you have the following commands: ` g++ ` ` make ` ` tar ` ` wget `
25
+ 1 . Download and compile the libraries (zlib and libzip) with the command: ` make libraries `
26
+ 2 . Then create the static and shared libraries of libzippp: ` make `
27
+ 3 . You may want to run the tests (optional): ` make tests ` ( ` libbz2-dev ` package is needed to link statically)
27
28
4 . Now you just have to include the src folder in your include path and
28
29
link against * libzippp.a* or * libzippp.so* (do not forget to also link
29
30
against libzip libraries in * lib/libzip-1.5.1/lib/.libs/* ).
30
31
An example of compilation with g++:
31
32
32
- ``` Shell
33
+ ``` shell
33
34
g++ -I./lib/libzip-1.5.1/lib -I./src \
34
35
main.cpp libzippp.a \
35
36
lib/libzip-1.5.1/lib/.libs/libzip.a \
@@ -203,11 +204,11 @@ You might already have libzip compiled elsewhere on your system. Hence, you
203
204
don't need to run 'make libzip'. Instead, just put the libzip location when
204
205
you compile libzipp:
205
206
206
- ```Shell
207
+ ```shell
207
208
make LIBZIP=path/to/libzip
208
209
```
209
210
210
- Under Debian, you'll have to install the package * zlib1g-dev* in order to compile
211
+ Under Debian, you'll have to install the package ` zlib1g-dev ` in order to compile
211
212
if you don't want to install zlib manually.
212
213
213
214
### WINDOWS
0 commit comments