Chapter 14: Optimizing and Maintaining CMake Projects

Software projects tend to live for a long time and for some, it's not unheard of to be under more or less active development for a decade or more. But even if projects do not live that long, they tend to grow over time and attract certain clutter and legacy artifacts. Often, maintaining a project does not just mean refactoring code or adding a feature once in a while, but also keeping the build information and dependencies up to date.

As projects grow in complexity, build times often increase dramatically to the point that development might get tedious because of the long wait times. Long build times are not just inconvenient, they might also encourage developers to take shortcuts because ...

Get CMake Best Practices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.