CMake is an open-source cross-platform automated build system. This tutorial progressively introduces practical CMake syntax to meet the compilation needs of general project development. It is suitable for beginners.
This tutorial is divided into 6 sections:
- 0-first-step
- 1-header-file
- 2-library
- 3-subdirectory
- 4-io-variable-controlflow
- 5-testing
You can sequentially explore the content of each section. The content of each section is on different branches, so please switch from the master branch to the specified branch.