Pre-built packages are available on the releases page.
For GitHub Actions build scripts, see .github/workflows/.
C++17 toolchain and CMake 3.16+.
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release -j| Option | Default | Description |
|---|---|---|
CBSDK_BUILD_TEST |
ON (standalone) | Build unit and integration tests |
CBSDK_BUILD_SAMPLE |
ON (standalone) | Build example applications |
CBSDK_BUILD_SHARED |
OFF | Build cbsdk_shared (DLL/dylib/so) for pycbsdk |
ctest --test-dir build --build-config Release --output-on-failure -E "^device\."The -E "^device\." filter excludes tests that require a physical device or network.
cmake -B build -S . -DCBSDK_BUILD_SHARED=ON -DCBSDK_BUILD_TEST=OFF -DCMAKE_BUILD_TYPE=Release
cmake --build build --target cbsdk_shared --config Releasecmake --build build --target install --config Releasecmake --build build --target package --config ReleaseSee pycbsdk/ for building the Python wheel from source.