summaryrefslogtreecommitdiffstats
path: root/Source/cmFindProgramCommand.h
diff options
context:
space:
mode:
authorSebastien Barre <sebastien.barre@kitware.com>2002-05-12 15:31:45 (GMT)
committerSebastien Barre <sebastien.barre@kitware.com>2002-05-12 15:31:45 (GMT)
commit1ad05f9e6d423187b4426be6117820cb791e86ba (patch)
tree84bca8818e63c26032792349c8a5c11e95f44501 /Source/cmFindProgramCommand.h
parentce314986375cc2f2675266b7cbc6a46759bdeee2 (diff)
downloadCMake-1ad05f9e6d423187b4426be6117820cb791e86ba.zip
CMake-1ad05f9e6d423187b4426be6117820cb791e86ba.tar.gz
CMake-1ad05f9e6d423187b4426be6117820cb791e86ba.tar.bz2
ENH/FIX: add NO_SYSTEM_PATH option + fix command usage
Diffstat (limited to 'Source/cmFindProgramCommand.h')
-rw-r--r--Source/cmFindProgramCommand.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/cmFindProgramCommand.h b/Source/cmFindProgramCommand.h
index ae21338..1fff696 100644
--- a/Source/cmFindProgramCommand.h
+++ b/Source/cmFindProgramCommand.h
@@ -70,11 +70,12 @@ public:
virtual const char* GetFullDocumentation()
{
return
- "FIND_PROGRAM(NAME executable1 extrapath extrapath ... [DOC helpstring]) "
+ "FIND_PROGRAM(DEFINE_NAME executableName [NAMES name1 name2 name3...] [PATHS path1 path2 path3...] [NO_SYSTEM_PATH] [DOC helpstring]) "
"Find the executable in the system PATH or in any extra paths specified in the command."
- "A cache entry called NAME is created to store the result. NOTFOUND is the value"
+ "A cache entry called DEFILE_NAME is created to store the result. NOTFOUND is the value"
" used if the program was not found. If DOC is specified the next argument is the "
- "documentation string for the cache entry NAME.";
+ "documentation string for the cache entry NAME."
+ "If NO_SYSTEM_PATH is specified the contents of system PATH is not used";
}
cmTypeMacro(cmFindProgramCommand, cmCommand);