summaryrefslogtreecommitdiffstats
path: root/Source/cmAddCustomCommandCommand.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/cmAddCustomCommandCommand.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/cmAddCustomCommandCommand.h')
-rw-r--r--Source/cmAddCustomCommandCommand.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmAddCustomCommandCommand.h b/Source/cmAddCustomCommandCommand.h
index 845c594..31dc2ac 100644
--- a/Source/cmAddCustomCommandCommand.h
+++ b/Source/cmAddCustomCommandCommand.h
@@ -47,7 +47,7 @@ public:
/**
* The name of the command as specified in CMakeList.txt.
*/
- virtual const char* GetName() {return "ADD_CUSTOM_COMMAND";}
+ virtual const char* GetName() {return "add_custom_command";}
/**
* Succinct documentation.
@@ -63,10 +63,10 @@ public:
virtual const char* GetFullDocumentation()
{
return
- "There are two main signatures for ADD_CUSTOM_COMMAND "
+ "There are two main signatures for add_custom_command "
"The first signature is for adding a custom command "
"to produce an output.\n"
- " ADD_CUSTOM_COMMAND(OUTPUT output1 [output2 ...]\n"
+ " add_custom_command(OUTPUT output1 [output2 ...]\n"
" COMMAND command1 [ARGS] [args1...]\n"
" [COMMAND command2 [ARGS] [args2...] ...]\n"
" [MAIN_DEPENDENCY depend]\n"
@@ -92,7 +92,7 @@ public:
"The command becomes part of the target and will only execute "
"when the target itself is built. If the target is already built,"
" the command will not execute.\n"
- " ADD_CUSTOM_COMMAND(TARGET target\n"
+ " add_custom_command(TARGET target\n"
" PRE_BUILD | PRE_LINK | POST_BUILD\n"
" COMMAND command1 [ARGS] [args1...]\n"
" [COMMAND command2 [ARGS] [args2...] ...]\n"