For a usage guide, see docs/api/cpp/index.rst.
- CMake 3.10+
- C++20 compiler (C++23 compiler for tests).
- Rust toolchain for building
vortex-ffi.
cargo build --release -p vortex-ffi
cmake -Bbuild -DCMAKE_BUILD_TYPE=Release
cmake --build build -jThis will generate libvortex_cxx shared and static libraries.
You can use vortex_cxx and vortex_cxx_shared CMake targets.
cargo build --release -p vortex-ffi
cmake -Bbuild -DBUILD_TESTS=ON
cmake --build build -j
ctest --test-dir build -j "$(nproc)"cmake -Bbuild -DBUILD_EXAMPLES=ON
cmake --build build -j
./build/examples/hello-vortex