CMake Lists - Jeremi Mucha
https://jeremimucha.com/2021/03/cmake-lists15.03.2021 · CMake lists can be iterated, searched, sorted, reversed, transformed. Recent versions of CMake support quite a rich set of operations – pretty much everything you’d expect is there. I’ve already shown how to define a list , let’s move on to something equally basic – …
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 ...
string — CMake 3.23.0-rc3 Documentation
cmake.org › cmake › helpCMake language Escape Sequences such as \t, \r, , and \\ may be used to construct literal tabs, carriage returns, newlines, and backslashes (respectively) to pass in a regex. For example: The quoted argument " [ \t\r ]" specifies a regex that matches any single whitespace character.