Table of Contents
Preface
Part 1 – The Basics
1
Kickstarting CMake
Technical requirements
CMake in a nutshell
Installing CMake
Building CMake from source
Building your first project
A minimal CMakeLists.txt file
Understanding the CMake build process
Source folders and build folders
Single-configuration and multi-configuration generators
Writing CMake files
The CMake language – a 10,000-foot overview
Different toolchains and build types
Build types
Maintaining good build configurations with presets
Summary
Further reading
Questions
Answers
2
Accessing CMake in the Best Ways
Technical requirements
Using CMake via a command-line interface
Learning the basics of the CMake CLI
Advanced configuration using CMake-GUI and ccmake
Learning how to use ...
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.