summaryrefslogtreecommitdiffstats
path: root/Help/command/foreach.rst
diff options
context:
space:
mode:
authorDaniele E. Domenichelli <daniele.domenichelli@iit.it>2013-11-18 13:30:52 (GMT)
committerBrad King <brad.king@kitware.com>2013-11-19 14:01:54 (GMT)
commitf0db2e38984c7ac2e2da082b88ec52f378651891 (patch)
treee06c2196b9cbff6f0794fa3f462de2cb1f00e495 /Help/command/foreach.rst
parente099a37afa43bbe00f4a3bade40851b31c025147 (diff)
downloadCMake-f0db2e38984c7ac2e2da082b88ec52f378651891.zip
CMake-f0db2e38984c7ac2e2da082b88ec52f378651891.tar.gz
CMake-f0db2e38984c7ac2e2da082b88ec52f378651891.tar.bz2
Help: Document macro argument caveats in more detail
Add notes about macro arguments in the foreach, if, and list commands. Add a section to the macro command documentation explaining in detail how macro arguments are not variables.
Diffstat (limited to 'Help/command/foreach.rst')
-rw-r--r--Help/command/foreach.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Help/command/foreach.rst b/Help/command/foreach.rst
index 8f9710c..348ebd8 100644
--- a/Help/command/foreach.rst
+++ b/Help/command/foreach.rst
@@ -42,5 +42,6 @@ three types of this iteration:
Iterates over a precise list of items. The LISTS option names
list-valued variables to be traversed, including empty elements (an
-empty string is a zero-length list). The ITEMS option ends argument
+empty string is a zero-length list). (Note macro
+arguments are not variables.) The ITEMS option ends argument
parsing and includes all arguments following it in the iteration.