string — CMake 3.23.0-rc3 Documentation
cmake.org › cmake › helpWrite a string representation of the current date and/or time to the <output_variable>. If the command is unable to obtain a timestamp, the <output_variable> will be set to the empty string "". The optional UTC flag requests the current date/time representation to be in Coordinated Universal Time (UTC) rather than local time.
string
http://man.hubwiz.com › commandReplace all occurrences of match_string in the input with replace_string and store the result in the output. Regular Expressions¶. string(REGEX MATCH < ...
cmake Tutorial => Getting started with cmake
https://riptutorial.com/cmakeproject(hello_world) starts a new CMake project. This will trigger a lot of internal CMake logic, especially the detection of the default C and C++ compiler. With add_executable(app main.cpp) a build target app is created, which will invoke the configured compiler with some default flags for the current setting to compile an executable app from the given source file main.cpp .