summaryrefslogtreecommitdiffstats
path: root/Source/cmForEachCommand.h
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2007-10-10 15:47:43 (GMT)
committerKen Martin <ken.martin@kitware.com>2007-10-10 15:47:43 (GMT)
commit8d32d229a3b77f7cb0dd708c6a492fa33797b9f0 (patch)
tree616c727c9b0609549374c223079b367172bffeff /Source/cmForEachCommand.h
parent8e4c7b99e1b73c641308c0177673dac33fe57df1 (diff)
downloadCMake-8d32d229a3b77f7cb0dd708c6a492fa33797b9f0.zip
CMake-8d32d229a3b77f7cb0dd708c6a492fa33797b9f0.tar.gz
CMake-8d32d229a3b77f7cb0dd708c6a492fa33797b9f0.tar.bz2
ENH: make commands lower case by default
Diffstat (limited to 'Source/cmForEachCommand.h')
-rw-r--r--Source/cmForEachCommand.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/Source/cmForEachCommand.h b/Source/cmForEachCommand.h
index 04843c4..115c522 100644
--- a/Source/cmForEachCommand.h
+++ b/Source/cmForEachCommand.h
@@ -73,7 +73,7 @@ public:
/**
* The name of the command as specified in CMakeList.txt.
*/
- virtual const char* GetName() { return "FOREACH";}
+ virtual const char* GetName() { return "foreach";}
/**
* Succinct documentation.
@@ -89,17 +89,17 @@ public:
virtual const char* GetFullDocumentation()
{
return
- " FOREACH(loop_var arg1 arg2 ...)\n"
+ " foreach(loop_var arg1 arg2 ...)\n"
" COMMAND1(ARGS ...)\n"
" COMMAND2(ARGS ...)\n"
" ...\n"
- " ENDFOREACH(loop_var)\n"
- " FOREACH(loop_var RANGE total)\n"
- " FOREACH(loop_var RANGE start stop [step])\n"
- "All commands between FOREACH and the matching ENDFOREACH are recorded "
- "without being invoked. Once the ENDFOREACH is evaluated, the "
+ " ENDforeach(loop_var)\n"
+ " foreach(loop_var RANGE total)\n"
+ " foreach(loop_var RANGE start stop [step])\n"
+ "All commands between foreach and the matching ENDforeach are recorded "
+ "without being invoked. Once the ENDforeach is evaluated, the "
"recorded list of commands is invoked once for each argument listed "
- "in the original FOREACH command. Before each iteration of the loop "
+ "in the original foreach command. Before each iteration of the loop "
"\"${loop_var}\" will be set as a variable with "
"the current value in the list.\n"
"Foreach can also iterate over a generated range of numbers. "