summaryrefslogtreecommitdiffstats
path: root/Source/cmAddDefinitionsCommand.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/cmAddDefinitionsCommand.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/cmAddDefinitionsCommand.h')
-rw-r--r--Source/cmAddDefinitionsCommand.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmAddDefinitionsCommand.h b/Source/cmAddDefinitionsCommand.h
index cd4343e..7bf7116 100644
--- a/Source/cmAddDefinitionsCommand.h
+++ b/Source/cmAddDefinitionsCommand.h
@@ -45,7 +45,7 @@ public:
/**
* The name of the command as specified in CMakeList.txt.
*/
- virtual const char* GetName() {return "ADD_DEFINITIONS";}
+ virtual const char* GetName() {return "add_definitions";}
/**
* Succinct documentation.
@@ -61,7 +61,7 @@ public:
virtual const char* GetFullDocumentation()
{
return
- " ADD_DEFINITIONS(-DFOO -DBAR ...)\n"
+ " add_definitions(-DFOO -DBAR ...)\n"
"Adds flags to command line of C and C++ compilers. "
"This command can be used to add any flag to a compile line, "
"but the -D flag is accepted most C/C++ compilers. "