summaryrefslogtreecommitdiffstats
path: root/Source/cmMacroCommand.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-04-29 21:41:33 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-04-29 21:41:33 (GMT)
commit28f6e1b194cd71af7308cd2c91b438d8de72bc0d (patch)
treeca59d213a0c4924ed38c806ba473e19b09795fa4 /Source/cmMacroCommand.h
parent8750f1c277d8bf3fdf2d2986f473c5f09e293ea5 (diff)
downloadCMake-28f6e1b194cd71af7308cd2c91b438d8de72bc0d.zip
CMake-28f6e1b194cd71af7308cd2c91b438d8de72bc0d.tar.gz
CMake-28f6e1b194cd71af7308cd2c91b438d8de72bc0d.tar.bz2
ENH: Add ARGV and ARGN support to MACRO command. ARGV is the list of all arguments and ARGN is the list of all nonexpected arguments
Diffstat (limited to 'Source/cmMacroCommand.h')
-rw-r--r--Source/cmMacroCommand.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmMacroCommand.h b/Source/cmMacroCommand.h
index c614588..b0848d1 100644
--- a/Source/cmMacroCommand.h
+++ b/Source/cmMacroCommand.h
@@ -106,7 +106,9 @@ public:
"the variable ARGC which will be set to the number of arguments "
"passed into the function as well as ARGV0 ARGV1 ARGV2 ... which "
"will have the actual values of the arguments passed in. This "
- "fascilitates creating macros with optional arguments.";
+ "fascilitates creating macros with optional arguments. Additionally "
+ "ARGV holds the list of all arguments given to the macro and ARGN "
+ "holds the list of argument pass the last expected argument.";
}
cmTypeMacro(cmMacroCommand, cmCommand);