linphone-sdk/belcard
2025-06-16 13:25:27 +07:00
..
include 5.3.73 2025-06-16 13:25:27 +07:00
src 5.3.73 2025-06-16 13:25:27 +07:00
tester 5.3.73 2025-06-16 13:25:27 +07:00
tools 5.3.73 2025-06-16 13:25:27 +07:00
autogen.sh 5.3.73 2025-06-16 13:25:27 +07:00
belcard.pc.in 5.3.73 2025-06-16 13:25:27 +07:00
BelCardConfig.cmake.in 5.3.73 2025-06-16 13:25:27 +07:00
CHANGELOG.md 5.3.73 2025-06-16 13:25:27 +07:00
CMakeLists.txt 5.3.73 2025-06-16 13:25:27 +07:00
config.h.cmake 5.3.73 2025-06-16 13:25:27 +07:00
configure.ac 5.3.73 2025-06-16 13:25:27 +07:00
LICENSE.txt 5.3.73 2025-06-16 13:25:27 +07:00
Makefile.am 5.3.73 2025-06-16 13:25:27 +07:00
README.md 5.3.73 2025-06-16 13:25:27 +07:00

pipeline status

BelCard

Belcard is a C++ library to manipulate VCard standard format

Dependencies

  • bctoolbox[1] : portability layer.
  • belr[2] : used to parse VCard format.

Build instrucitons

cmake . -DCMAKE_INSTALL_PREFIX=<install_prefix> -DCMAKE_PREFIX_PATH=<search_prefix>

make
make install

Options

  • 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_STRICT=NO : do not build with strict complier flags e.g. -Wall -Werror

Note for packagers

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 while you invoke cmake.

Rpm packaging belcard can be generated with cmake3 using the following command: mkdir WORK cd WORK cmake3 ../ make package_source rpmbuild -ta --clean --rmsource --rmspec belcard--.tar.gz