Skip to Main Content
Modern CMake for C++
book

Modern CMake for C++

by Rafał Świdziński
February 2022
Intermediate to advanced content levelIntermediate to advanced
460 pages
9h 35m
English
Packt Publishing
Content preview from Modern CMake for C++

Chapter 9: Program Analysis Tools

Producing high-quality code is not an easy task, even for very experienced developers. By adding tests to our solution, we reduce the risk of making obvious mistakes in the business code. But that won't be enough to avoid more intricate problems. Every piece of software consists of so many details that keeping track of them all becomes a full-time job. There are dozens of conventions and multiple special design practices agreed upon by teams maintaining the product.

Some questions relate to consistent coding style: should we use 80 or 120 columns in our code? Should we allow std::bind or commit to Lambda functions? Is it okay to use C-style arrays? Should small functions be defined in a single line? Should we ...

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

Modern CMake for C++ - Second Edition

Modern CMake for C++ - Second Edition

Rafał Świdziński

Publisher Resources

ISBN: 9781801070058Supplemental Content