Back To Schedule

Effective CTest

a random selection of best practices

09:00 - 10:30 Friday 2nd May 2025 MT Bethe Hall
Intermediate
Advanced
Tooling/Utilities

Proprietary software is developed and tested by a single entity. Very often, the build and test scripts are located in the project's repository and tend to intertwine with the project configuration. Too many open-source projects follow the same route.

For software developed in public, separating "build configuration" from "project configuration" brings advantages.

In this talk, I will introduce the CTest scripting mode and show how to write generic build scripts that can be used for any CMake project. I will also present guidelines for project authors to ensure their project configuration does not interfere with generic CTest scripts.

The final goal is to establish a development standard for open-source projects, where CI builds are completely decentralized.

View Slides

Daniel Pfeifer

On a mission to increase developer productivity. Professional Explainer for CMake and C++.