mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 04:40:18 -05:00
allow flags to be in the CC and CXX environment variables
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user