
Автор: Craig Scott
Издательство: Crascit Pty Ltd
Год: 2025
Страниц: 1953
Язык: английский
Формат: pdf, epub (true)
Размер: 15.9 MB
Professional CMake: A Practical Guide is the handbook for every CMake user, from beginner to seasoned veteran. It contains hundreds of pages of real-world advice, best practices, and insights gained from production projects and interaction with the CMake community.
Topics cover the complete software pipeline, from the very initial setup of a project through to testing, packaging, and integration with other projects. Important more advanced topics like improving build performance and code analysis tools are also covered.
CMake is a very popular tool for defining how projects should be built, tested and packaged. Its maturity, breadth of features, broad platform support and toolchain flexibility have led to its widespread adoption among the software development community. It has even become the de facto standard build system for C++ projects. The CMake 3.x release series has brought with it a whole new set of powerful capabilities and best practices, leading to the coining of the term Modern CMake. But “modern” is a moving target. CMake 4.x is now available, and it continues the pattern of active development and evolving features. Therefore, a key motivation for this book is to provide developers with an up-to-date, practical guide to learning CMake, paying particular attention to the latest best practices.
The first part of the book covers the essential steps for getting up and running quickly with a basic project. It assumes no prior experience with CMake. It introduces the reader to the most pivotal CMake concepts (especially targets) and each of the main tools: cmake, ctest and cpack. It also points out a few common things for new users to avoid. By the end of this section, the reader will have a basic working project they can use to explore and experiment with as they build their knowledge through the rest of the book.
Скачать Professional CMake: A Practical Guide, 21st Edition
