Everything in the language supported by CMake is based on text processing and the expansion of macro type text into larger (or smaller) pieces of different text. This simplicity of design for the ...
CMake supports the basic 'foreach', 'while' and 'if/else' types of flow control. While it seems limited, each command has multiple variations which allow for common usage patterns you may require. 90+ ...