This repository contains the IQRF libraries for C/C++.
libiqrf-connector-uart- UART connector librarylibiqrf-gpio- GPIO librarylibiqrf-log- Logging library
- Boost (log, program_options, system)
- libgpiod >= 1.6.2
- libserialport
git clone https://gitlab.iqrf.org/open-source/iqrf-sdk/libiqrf.git
cd libiqrf/
mkdir build
cmake -Bbuild -H. -DCMAKE_BUILD_TYPE=Debug -DBUILD_STATIC=TRUE -DUSE_CCACHE=TRUE
cmake --build build| Option | Type | Default | Description |
|---|---|---|---|
BUILD_DOCS |
boolean | False | Build documentation with Doxygen |
BUILD_EXAMPLES |
boolean | True | Build examples |
BUILD_SHARED |
boolean | True | Build shared libraries |
BUILD_STATIC |
boolean | False | Build static libraries |
BUILD_TESTING_SUPPORT |
boolean | True | Build testing support files |
BUILD_TESTS |
boolean | True | Build tests |
CODE_COVERAGE |
boolean | False | Enable code coverage |
USE_CCACHE |
boolean | False | Use ccache for compilation |
cd build/test/
ctest