Skip to main content



Simplifying the C/C++ dependency graph (with CMake)
·457 words·3 mins
Code Cmake
Sometimes, you’ll come upon a set of libraries that just decide to include everything directly, always. This can help minimize and visualize those dependencies.


Using CMake to help build Catch2 tests
·653 words·4 mins
Code Cmake C/Cpp
Using CMake to automatically detect, or clone fresh, and even pre-compile Catch for you.
CMake script suite - Making CMake work for you
·1051 words·5 mins
Code Cmake
Built over some time now, is a fair sized suite of tools and utilities to improve the CMake compilation experience.
Integrating Sanitizer tools into CMake builds
·990 words·5 mins
Code Cmake C/Cpp
Previously we added tools for code coverage and static analysis via clang-tidy. Now comes the ability to perform better runtime testing through GCC and Clang’s sanitizer tools, and integrating them with CMake.
Adding C/C++ code coverage with CMake and GCC or Clang
·752 words·4 mins
Code Cmake C/Cpp
Code coverage gives the ability to determine which sections of code are used, and how much, helping to prevent issues from sections of code that aren’t run during tests and thus could potentially fail in production.
Integrating clang-tools with CMake
·1229 words·6 mins
Code Cmake
The clang tools, clang-format and clang-tidy can be immensly useful, both for software development on local machines and as passes in a CI pipeline. This is especially true when they are integrated into a CMake script, where new targets ‘format’ and ’tidy’ can be exist.