Table of Contents
Preface
Part 1: The Basics
Chapter 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
Writing CMake files
The CMake language – a 10,000-feet overview
Different toolchains and build types
Build types
Maintaining good build configurations with presets
Summary
Further reading
Questions
Chapter 2: Accessing CMake in 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 ccmake (CMake curses GUI)
Using CMake via cmake-gui ...
Get CMake Best Practices 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.