string
http://man.hubwiz.com › commandRegular Expressions string(REGEX MATCH <match-regex> <out-var> <input>. ... many times as possible and store the matches in the output variable as a list.
list — CMake 3.14.7 Documentation
cmake.org › cmake › helpSTRING: Sorts a list of strings alphabetically. This is the default behavior if the COMPARE option is not given. FILE_BASENAME: Sorts a list of pathnames of files by their basenames. Use the CASE keyword to select a case sensitive or case insensitive sort mode. The <case> option should be one of: SENSITIVE: List items are sorted in a case ...
cmake Tutorial => Strings and Lists
riptutorial.com › cmake › exampleIt's important to know how CMake distinguishes between lists and plain strings. When you write: set (VAR "a b c") you create a string with the value "a b c". But when you write this line without quotes: set (VAR a b c) You create a list of three items instead: "a", "b" and "c". Non-list variables are actually lists too (of a single element).