This repository is for practicing and learning modern c++ (post c++11) and modern cmake (post 3.0) The repository is based on my modern-cpp-cmake-starter. The code is for practice and hence might not be the best according to standards and best practices.
# configure build with ninja
cmake -S . -B build -GNinja
# build everything
cmake --build build
# build specific target
cmake --build build --target <name>
# configure with code quality tools namely sanitizers, cppcheck, include what you use (iwyu), codecoverage
cmake -S . -B build -GNinja -DUSE_SANITIZER='Memory;MemoryWithOrigins;Thread;Leak;Address;Undefined' -DUSE_STATIC_ANALYZER='clang-tidy;iwyu;cppcheck' -DENABLE_CODE_COVERAGE=ON -DCMAKE_BUILD_TYPE=Coverage