separate_arguments — CMake 3.23.0-rc3 Documentation
cmake.org › cmake › helpParses a space-separated string <args> into a list of items, and stores this list in semicolon-separated standard form in <variable>. This function is intended for parsing command-line arguments. The entire command line must be passed as one string in the argument <args>. The exact parsing rules depend on the operating system.
list — CMake 3.23.0-rc4 Documentation
cmake.org › cmake › helpIntroduction ¶. The list subcommands APPEND, INSERT, FILTER, PREPEND , POP_BACK, POP_FRONT, REMOVE_AT, REMOVE_ITEM , REMOVE_DUPLICATES, REVERSE and SORT may create new values for the list within the current CMake variable scope. Similar to the set () command, the LIST command creates new variable values in the current scope, even if the list ...
list — CMake 3.23.0-rc4 Documentation
https://cmake.org/cmake/help/latest/command/list.htmlNote. When specifying index values, if <element index> is 0 or greater, it is indexed from the beginning of the list, with 0 representing the first list element. If <element index> is -1 or lesser, it is indexed from the end of the list, with -1 representing the last list element. Be careful when counting with negative indices: they do not start from 0. -0 is equivalent to 0, the first list elem