In the main repo directory execute
$ cmake -S . -B build
$ cmake --build build
Alternatively, you can use bundled CMake presets:
$ cmake --preset default # uses the Ninja build system
$ cmake --build build
$ ctest --preset default
Existing presets are default
, release
, and Xcode
.
To run clang-format on every commit, in the main directory execute
pre-commit install
(for this you may need to install pre-commit
with pip
: pip install pre-commit
).