Skip to content

Build Native

From the native/ folder:

Terminal window
cmake -S . -B build -DBARQ_NATIVE_NO_TESTS=ON
cmake --build build --target barq_native

By default, CMake fetches Barq Core from GitHub.

Terminal window
cmake -S . -B build -DBARQ_CORE_SOURCE_DIR=/path/to/barq/core
Terminal window
cmake -S . -B build -DBARQ_CORE_GIT_TAG=main

The repo includes native examples under example/.

Start with:

example/barq_native_demo