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

This commit is contained in:
Andy Cedilnik
2004-04-29 17:41:33 -04:00
parent 8750f1c277
commit 28f6e1b194
5 changed files with 87 additions and 1 deletions
+3 -1
View File
@@ -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);