Introduction¶
This book describes how to use the CMake family of tools, including CTest, CPack and CDash, to develop, build, test, and package software for distribution. Starting with the basics of how to install and run the command-line and GUI tools, Mastering CMake covers how to write CMake code as well as how to convert existing projects to CMake. Finally, a series of guides, including the CMake tutorial, provide hands-on examples.
Mastering CMake¶
- Why CMake?
- Getting Started
- Writing CMakeLists Files
- CMake Cache
- Key Concepts
- Policies
- Modules
- Installing Files
- System Inspection
- Finding Packages
- Custom Commands
- Converting Existing Systems To CMake
- Cross Compiling With CMake
- Packaging With CPack
- Testing With CMake and CTest
- CDash
- CMake Tutorial
- User Interaction Guide
- Using Dependencies Guide
- Importing and Exporting Guide
- IDE Integration Guide