summaryrefslogtreecommitdiffstats
path: root/Help/command/if.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/if.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/if.rst')
-rw-r--r--Help/command/if.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Help/command/if.rst b/Help/command/if.rst
index b879ae1..0279be7 100644
--- a/Help/command/if.rst
+++ b/Help/command/if.rst
@@ -166,7 +166,8 @@ major[.minor[.patch[.tweak]]]).
if(DEFINED <variable>)
True if the given variable is defined. It does not matter if the
-variable is true or false just if it has been set.
+variable is true or false just if it has been set. (Note macro
+arguments are not variables.)
::