7 The CMake tutorial provides a step-by-step guide that covers common build
8 system issues that CMake helps address. Seeing how various topics all
9 work together in an example project can be very helpful.
14 .. include:: source.txt
17 Each step has its own subdirectory containing code that may be used as a
18 starting point. The tutorial examples are progressive so that each step
19 provides the complete solution for the previous step.
24 A Basic Starting Point
26 Adding Usage Requirements for a Library
27 Installing and Testing
28 Adding System Introspection
29 Adding a Custom Command and Generated File
30 Packaging an Installer
31 Adding Support for a Testing Dashboard
32 Selecting Static or Shared Libraries
33 Adding Generator Expressions
34 Adding Export Configuration
35 Packaging Debug and Release
38 Whenever a step above is renamed or removed, leave forwarding text in
39 its original document file, and list it below to preserve old links
40 to cmake.org/cmake/help/latest/ URLs.