summaryrefslogtreecommitdiffstats
path: root/Help/command/list.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-11-19 17:44:48 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-11-19 17:44:48 (GMT)
commite776a2dae4fe7dd6d20f15ec488019b95a9d648f (patch)
treee32dac969c07192a0bf6896c06566df13a95c5fb /Help/command/list.rst
parent46ec48c93d2d84cf79c8704c370e24d47a7536a5 (diff)
parentf0db2e38984c7ac2e2da082b88ec52f378651891 (diff)
downloadCMake-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.rst3
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