Learn CMake with Examples.
Check the commitments of CMakeLists.txt, which should illustrate itself in commitments.
Demostrate a simple example how to use CMakeLists.txt to generate a project. Including:
- How to compile a running program
- How to link a liabrary
- How to use macro
https://cmake.org/cmake-tutorial/
#cmake build system https://cmake.org/cmake/help/latest/manual/cmake-buildsystem.7.html#binary-executables
#cmake toolchains https://cmake.org/cmake/help/latest/manual/cmake-toolchains.7.html