README.md 1.23 KB
Newer Older
1 2 3
BelCard
=======

4 5 6 7
Belcard is a C++ library to manipulate VCard standard format

Dependencies
------------
8 9
- *bctoolbox[1]* : portability layer.
- *belr[2]*      : used to parse VCard format.
10 11 12 13 14


Build instrucitons
------------------

15 16 17 18
	cmake . -DCMAKE_INSTALL_PREFIX=<install_prefix> -DCMAKE_PREFIX_PATH=<search_prefix>
	
	make
	make install
19 20 21 22


Options
-------
23 24 25 26 27 28 29

- `CMAKE_INSTALL_PREFIX=<string>` : installation prefix
- `CMAKE_PREFIX_PATH=<string>`    : prefix where depedencies are installed
- `ENABLE_UNIT_TESTS=NO`          : do not compile non-regression tests
- `ENABLE_SHARED=NO`              : do not build the shared library.
- `ENABLE_STATIC=NO`              : do not build the static library.
- `ENABLE_STRICT=NO`              : do not build with strict complier flags e.g. `-Wall -Werror`
30 31 32 33


Note for packagers
------------------
34 35
Our CMake scripts may automatically add some paths into research paths of generated binaries.
To ensure that the installed binaries are striped of any rpath, use `-DCMAKE_SKIP_INSTALL_RPATH=ON`
36
while you invoke cmake.
37 38 39 40 41 42


------------------

- [1] git://git.linphone.org/bctoolbox.git or <http://www.linphone.org/releases/sources/bctoolbox>
- [2] git://git.linphone.org/belr.git or <http://www.linphone.org/releases/sources/belr>