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 code quality is at the desired level by various other means. To achieve high code quality, writing unit tests and executing them occasionally 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 when building and testing work effortlessly together can programmers focus on writing good tests, instead of focusing on getting those tests to run. Methods such as test-driven ...

Get CMake Best Practices - Second Edition 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.