diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-11-19 23:17:17 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-11-19 23:17:17 (GMT) |
commit | 5a75e03037b946abe56563fa1b568496f309ef5d (patch) | |
tree | 23f08815b01fea1e7216fac52a293ed347f73ad2 /Source/cmGetFilenameComponentCommand.h | |
parent | 939035ad91aff5de5a1b514176cd2765a1b9a728 (diff) | |
download | CMake-5a75e03037b946abe56563fa1b568496f309ef5d.zip CMake-5a75e03037b946abe56563fa1b568496f309ef5d.tar.gz CMake-5a75e03037b946abe56563fa1b568496f309ef5d.tar.bz2 |
allow flags to be in the CC and CXX environment variables
Diffstat (limited to 'Source/cmGetFilenameComponentCommand.h')
-rw-r--r-- | Source/cmGetFilenameComponentCommand.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Source/cmGetFilenameComponentCommand.h b/Source/cmGetFilenameComponentCommand.h index 0b62bdd..c9d45bd 100644 --- a/Source/cmGetFilenameComponentCommand.h +++ b/Source/cmGetFilenameComponentCommand.h @@ -67,14 +67,18 @@ public: virtual const char* GetFullDocumentation() { return - "GET_FILENAME_COMPONENT(VarName FileName PATH|NAME|EXT|NAME_WE [CACHE])\n" + "GET_FILENAME_COMPONENT(VarName FileName PATH|NAME|EXT|NAME_WE|PROGRAM [PROGRAM_ARGS ArgVarName] [CACHE])\n" "Set VarName to be the path (PATH), file name (NAME), file " "extension (EXT) or file name without extension (NAME_WE) of FileName.\n" "Note that the path is converted to Unix slashes format and has no " "trailing slashes. The longest file extension is always considered.\n" "Warning: as a utility command, the resulting value is not put in the " "cache but in the definition list, unless you add the optional CACHE " - "parameter."; + "parameter." + "For PROGRAM, the program in FileName will be found in the path or if it is " + "a full path. If PROGRAM_ARGS is present with PROGRAM, then the arguments " + "are split from the program. This is used to separate a program from its " + "arguments."; } cmTypeMacro(cmGetFilenameComponentCommand, cmCommand); |