mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-05 13:50:10 -05:00
ENH: add possibility to add doc strings to varibles created by find type commands
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user