Skip to Content
CMake Best Practices
book

CMake Best Practices

by Dominik Berner, Mustafa Kemal Gilor
May 2022
Beginner content levelBeginner
406 pages
8h 47m
English
Packt Publishing
Content preview from CMake Best Practices

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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

CMake Cookbook

CMake Cookbook

Radovan Bast, Roberto Di Remigio
Modern CMake for C++

Modern CMake for C++

Rafał Świdziński

Publisher Resources

ISBN: 9781803239729Supplemental Content