mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-21 22:50:26 -06:00
ENH: add possibility to add doc strings to varibles created by find type commands
This commit is contained in:
@@ -94,8 +94,10 @@ public:
|
||||
virtual const char* GetFullDocumentation()
|
||||
{
|
||||
return
|
||||
"FIND_LIBRARY(DEFINE_PATH libraryName [NAMES] name1 name2 name3 [PATHS path1 path2 path3...])\n"
|
||||
"If the library is found, then DEFINE_PATH is set to the full path where it was found";
|
||||
"FIND_LIBRARY(DEFINE_PATH libraryName [NAMES] name1 name2 name3 [PATHS path1 path2 path3...] [DOC docstring] )\n"
|
||||
"If the library is found, then DEFINE_PATH is set to the full path where it was found. "
|
||||
"If DOC is specified the next argument is the "
|
||||
"documentation string for the cache entry NAME.";
|
||||
}
|
||||
|
||||
cmTypeMacro(cmFindLibraryCommand, cmCommand);
|
||||
|
||||
Reference in New Issue
Block a user