CMake Lists - Jeremi Mucha
jeremimucha.com › 2021 › 03Mar 15, 2021 · A CMake list is a semicolon-separated sequence of elements. And since everything in CMake is a string, this means that a list is a semicolon-separated sequence of strings, making itself a string. Because who needs a type system, right? This may also be true the other way around – a string may be a list, but isn’t necessarily one.
list — CMake 3.23.0-rc4 Documentation
https://cmake.org/cmake/help/latest/command/list.htmlIntroduction ¶. 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 ...
[CMake] How to append a string on list inside a function
cmake.org › pipermail › cmakeSep 27, 2018 · Thu Sep 27 06:43:24 EDT 2018. Previous message (by thread): [CMake] How to produce a -config.cmake file. Next message (by thread): [CMake] How to append a string on list inside a function. Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] Hello everyone, I try to append a string (target name) on a list inside a function called in ...