Build
Detailed build configuration and options.
Basic Build
bash
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build -j$(nproc)Build Types
| Type | Purpose | Optimization |
|---|---|---|
Release | Production | -O3 |
Debug | Development | -O0 -g |
RelWithDebInfo | Profiling | -O2 -g |
CMake Options
bash
# Specify CUDA architecture
cmake -S . -B build -DCUDA_ARCH=86
# Verbose build output
cmake --build build -- VERBOSE=1Run Tests
bash
# Unit tests
cd build && ctest --output-on-failure
# Property tests
./tests/property/test_vec3_properties