summaryrefslogtreecommitdiffstats
path: root/Source/cmGetFilenameComponentCommand.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/cmGetFilenameComponentCommand.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/cmGetFilenameComponentCommand.h')
-rw-r--r--Source/cmGetFilenameComponentCommand.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmGetFilenameComponentCommand.h b/Source/cmGetFilenameComponentCommand.h
index a9c1dbb..b87ebff 100644
--- a/Source/cmGetFilenameComponentCommand.h
+++ b/Source/cmGetFilenameComponentCommand.h
@@ -50,7 +50,7 @@ public:
/**
* The name of the command as specified in CMakeList.txt.
*/
- virtual const char* GetName() { return "GET_FILENAME_COMPONENT";}
+ virtual const char* GetName() { return "get_filename_component";}
/**
* Succinct documentation.
@@ -66,7 +66,7 @@ public:
virtual const char* GetFullDocumentation()
{
return
- " GET_FILENAME_COMPONENT(VarName FileName\n"
+ " get_filename_component(VarName FileName\n"
" PATH|ABSOLUTE|NAME|EXT|NAME_WE\n"
" [CACHE])\n"
"Set VarName to be the path (PATH), file name (NAME), file "
@@ -76,7 +76,7 @@ public:
"trailing slashes. The longest file extension is always considered. "
"If the optional CACHE argument is specified, the result variable is "
"added to the cache.\n"
- " GET_FILENAME_COMPONENT(VarName FileName\n"
+ " get_filename_component(VarName FileName\n"
" PROGRAM [PROGRAM_ARGS ArgVar]\n"
" [CACHE])\n"
"The program in FileName will be found in the system search path or "