Building project
Make sure you installed cmake before building.
Build outputs
In this example, build outputs are stored in <REPOSITRY ROOT DIR>/build/ folder.
Cmake options
TERREATE_BUILD_TEST
Default: ON
Specifies whether to build test code.
TERREATE_DEBUG_BUILD
Default: OFF
Specifies whether to build in debug mode. In debug mode, TERREATE_DEBUG_MODE is defined.
Windows & Linux
Make sure you installed dependencies before building.
cmake -S . -B build
cmake --build build
nix installed env
nix develop // or `direnv allow` if you have direnv.
cmake -S . -B build
cmake --build build