summaryrefslogtreecommitdiff
path: root/Source/cmFindLibraryCommand.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-11-26 18:24:47 -0500
committerBill Hoffman <bill.hoffman@kitware.com>2001-11-26 18:24:47 -0500
commit3e24edcd04234c20a5c3045a7af9ff482fd61a45 (patch)
tree8b42271abfc9a7b04bdd27ecf6d678bb8672c0ad /Source/cmFindLibraryCommand.h
parentb170d21c9893c33b44d34ed0dedc81de1baec039 (diff)
downloadcmake-3e24edcd04234c20a5c3045a7af9ff482fd61a45.tar.gz
ENH: add possibility to add doc strings to varibles created by find type commands
Diffstat (limited to 'Source/cmFindLibraryCommand.h')
-rw-r--r--Source/cmFindLibraryCommand.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmFindLibraryCommand.h b/Source/cmFindLibraryCommand.h
index cd275b2cb6..df738f2bff 100644
--- a/Source/cmFindLibraryCommand.h
+++ b/Source/cmFindLibraryCommand.h
@@ -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);