ENH: add possibility to add doc strings to varibles created by find type commands

This commit is contained in:
Bill Hoffman
2001-11-26 18:24:47 -05:00
parent b170d21c98
commit 3e24edcd04
8 changed files with 115 additions and 34 deletions
+5 -1
View File
@@ -94,7 +94,11 @@ public:
virtual const char* GetFullDocumentation()
{
return
"FIND_FILE(NAME file extrapath extrapath ...)";
"FIND_FILE(NAME file extrapath extrapath ... [DOC docstring])"
"Find a file 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"
" used if the file was not found. If DOC is specified the next argument is the "
"documentation string for the cache entry NAME.";
}
cmTypeMacro(cmFindFileCommand, cmCommand);