Table of Contents
Preface
Section 1: Introducing CMake
Chapter 1: First Steps with CMake
Technical requirements
Understanding the basics
What is CMake?
How does it work?
Installing CMake on different platforms
Docker
Windows
Linux
macOS
Building from the source
Mastering the command line
CMake
CTest
CPack
The CMake GUI
CCMake
Navigating the project files
The source tree
The build tree
Listfiles
CMakeLists.txt
CMakeCache.txt
The Config-files for packages
The cmake_install.cmake, CTestTestfile.cmake, and CPackConfig.cmake files
CMakePresets.json and CMakeUserPresets.json
Ignoring files in Git
Discovering scripts and modules
Scripts
Utility modules
Find-modules
Summary
Further reading
Chapter 2: The CMake Language
Technical requirements
The basics ...
Get Modern CMake for C++ 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.