CMake Flags
Build cache
This project uses ccache automatically if it's available in the system. To disable this, use flag -DAUTO_CCACHE=OFF
.
Building tests
Code formatting with CLangFormat
To check code with CLangFormat run:
cmake --preset release-with-tests-conan -DSC_CLANG_FORMAT_CODE=ON
cmake --build --preset release --target clangformat_check
or
To format code with CLangFormat run:
cmake --preset release-with-tests-conan -DSC_CLANG_FORMAT_CODE=ON
cmake --build --preset release --target clangformat
or