Pass -DDD_TRACE_BUILD_TESTING=1 to cmake to include the unit tests in the build.
The resulting unit test executable is test/tests within the build directory.
cmake -B build -DDD_TRACE_BUILD_TESTING=1 .
cmake --build build -j
./build/test/testsAlternatively, bin/test is provided for convenience.
C++ code is formatted using clang-format-14. Before submitting code changes, run the following
command:
bin/formatTo check formatting without writing files:
bin/check-formatC++ code is analyzed with Clang Tidy. Run it with the following command:
bin/check-tidy