string
http://man.hubwiz.com › commandRegular Expressions string(REGEX MATCH <match-regex> <out-var> <input>. ... Note that two backslashes ( \\1 ) are required in CMake code to get a backslash ...
file — CMake 3.23.0-rc3 Documentation
cmake.org › cmake › helpThis command is dedicated to file and path manipulation requiring access to the filesystem. For other path manipulation, handling only syntactic aspects, have a look at cmake_path () command. Note The sub-commands RELATIVE_PATH, TO_CMAKE_PATH and TO_NATIVE_PATH has been superseded, respectively, by sub-commands RELATIVE_PATH , CONVERT ...
if — CMake 3.23.0-rc3 Documentation
cmake.org › cmake › helpif — CMake 3.23.0-rc2 Documentation if ¶ Conditionally execute a group of commands. Synopsis ¶ if (<condition>) <commands> elseif (<condition>) # optional block, can be repeated <commands> else () # optional block <commands> endif () Evaluates the condition argument of the if clause according to the Condition syntax described below.
string — CMake 3.23.0-rc3 Documentation
cmake.org › cmake › helpstring (MAKE_C_IDENTIFIER <string> <output_variable>) Convert each non-alphanumeric character in the input <string> to an underscore and store the result in the <output_variable>. If the first character of the <string> is a digit, an underscore will also be prepended to the result.