Chapter 7: Seamlessly Integrating Code Quality Tools with CMake

So far, we have focused on building and installing projects, as well as generating documentation and handling external dependencies. Another major task when writing quality software is testing and ensuring that the code quality is at the desired level by various other means. To achieve a high code quality, just writing unit tests and executing them once in a while is no longer enough. If you want to produce high-quality software, having proper test tools that integrate easily with your build system is not a luxury but a necessity. Only if building and testing work effortlessly together can the programmers focus on writing good tests instead of focusing on getting those tests to ...

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.