Skip to content

Build

Detailed build configuration and options.

Basic Build

bash
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build -j$(nproc)

Build Types

TypePurposeOptimization
ReleaseProduction-O3
DebugDevelopment-O0 -g
RelWithDebInfoProfiling-O2 -g

CMake Options

bash
# Specify CUDA architecture
cmake -S . -B build -DCUDA_ARCH=86

# Verbose build output
cmake --build build -- VERBOSE=1

Run Tests

bash
# Unit tests
cd build && ctest --output-on-failure

# Property tests
./tests/property/test_vec3_properties

Technical Whitepaper · Built with VitePress