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.
[CMake] escape characters in strings
cmake.org › pipermail › cmakeMar 20, 2014 · [CMake] escape characters in strings Nico Schlömer nico.schloemer at gmail.com Thu Mar 20 10:20:31 EDT 2014. Previous message: [CMake] CMake Error: Qt5::moc target not found ? Next message: [CMake] CMake Visual Studio generator not producing "Output Directory" property in VS Messages sorted by:
cmake-language(7) — CMake 3.23.0-rc3 Documentation
cmake.org › cmake › helpAlthough all values in CMake are stored as strings, a string may be treated as a list in certain contexts, such as during evaluation of an Unquoted Argument. In such contexts, a string is divided into list elements by splitting on ; characters not following an unequal number of [ and ] characters and not immediately preceded by a \ .