Learn CMake's Scripting Language in 15 Minutes

from blog Preshing on Programming, | ↗ original
As explained in my previous post, every CMake-based project must contain a script named CMakeLists.txt. This script defines targets, but it can also do a lot of other things, such as finding third-party libraries or generating C++ header files. CMake scripts have a lot of flexibility. Every time you integrate an external library, and often when...