summaryrefslogtreecommitdiffstats
path: root/Source/cmFindLibraryCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-11-13 18:51:18 (GMT)
committerBrad King <brad.king@kitware.com>2003-11-13 18:51:18 (GMT)
commit070fa61ff4fba9d154d35d2d7e33ee3d8fc0eed2 (patch)
treec5bd351a06aeac819cf9b94a5c3a8b6a43c27642 /Source/cmFindLibraryCommand.h
parenta65fd59c1364a26164fd27559d3089a211745a42 (diff)
downloadCMake-070fa61ff4fba9d154d35d2d7e33ee3d8fc0eed2.zip
CMake-070fa61ff4fba9d154d35d2d7e33ee3d8fc0eed2.tar.gz
CMake-070fa61ff4fba9d154d35d2d7e33ee3d8fc0eed2.tar.bz2
ENH: Documentation improvements.
Diffstat (limited to 'Source/cmFindLibraryCommand.h')
-rw-r--r--Source/cmFindLibraryCommand.h22
1 files changed, 13 insertions, 9 deletions
diff --git a/Source/cmFindLibraryCommand.h b/Source/cmFindLibraryCommand.h
index 6a38ec0..9a39985 100644
--- a/Source/cmFindLibraryCommand.h
+++ b/Source/cmFindLibraryCommand.h
@@ -69,16 +69,20 @@ public:
virtual const char* GetFullDocumentation()
{
return
- " FIND_LIBRARY(VAR libraryName\n"
- " [NAMES name1 name2 ...]\n"
+ " FIND_LIBRARY(<VAR> NAMES name1 [name2 ...]\n"
" [PATHS path1 path2 ...]\n"
- " [DOC helpstring])\n"
- "Find the library by looking in paths specified in the command. "
- "A cache entry named by VAR is created to "
- "store the result. VAR-NOTFOUND is the value used if the library was "
- "not found. CMake will continue to look as long as the value "
- "is not found. If DOC is specified the next argument is the "
- "documentation string for the cache entry VAR.";
+ " [DOC \"docstring\"])\n"
+ "Find a library named by one of the names given after the NAMES "
+ "argument. Paths specified after the PATHS argument are searched "
+ "in the order specified. A cache entry named by <VAR> is created "
+ "to store the result. If the library is not found, the result "
+ "will be <VAR>-NOTFOUND. If DOC is specified then the next "
+ "argument is treated as a documentation string for the cache "
+ "entry <VAR>.\n"
+ " FIND_LIBRARY(VAR libraryName [path1 path2 ...])\n"
+ "Find a library with the given name by searching in the specified "
+ "paths. This is a short-hand signature for the command that is "
+ "sufficient in many cases.";
}
cmTypeMacro(cmFindLibraryCommand, cmCommand);