diff options
author | Brad King <brad.king@kitware.com> | 2013-11-19 17:44:48 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-11-19 17:44:48 (GMT) |
commit | e776a2dae4fe7dd6d20f15ec488019b95a9d648f (patch) | |
tree | e32dac969c07192a0bf6896c06566df13a95c5fb /Help/command/list.rst | |
parent | 46ec48c93d2d84cf79c8704c370e24d47a7536a5 (diff) | |
parent | f0db2e38984c7ac2e2da082b88ec52f378651891 (diff) | |
download | CMake-e776a2dae4fe7dd6d20f15ec488019b95a9d648f.zip CMake-e776a2dae4fe7dd6d20f15ec488019b95a9d648f.tar.gz CMake-e776a2dae4fe7dd6d20f15ec488019b95a9d648f.tar.bz2 |
Merge topic 'macro-args-docs'
f0db2e3 Help: Document macro argument caveats in more detail
Diffstat (limited to 'Help/command/list.rst')
-rw-r--r-- | Help/command/list.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Help/command/list.rst b/Help/command/list.rst index f044dba..aeb1e94 100644 --- a/Help/command/list.rst +++ b/Help/command/list.rst @@ -50,7 +50,8 @@ propagation. NOTES: A list in cmake is a ; separated group of strings. To create a list the set command can be used. For example, set(var a b c d e) creates a list with a;b;c;d;e, and set(var "a b c d e") creates a -string or a list with one item in it. +string or a list with one item in it. (Note macro arguments are not +variables, and therefore cannot be used in LIST commands.) When specifying index values, if <element index> is 0 or greater, it is indexed from the beginning of the list, with 0 representing the |