summaryrefslogtreecommitdiffstats
path: root/Source/cmLinkLibrariesCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-02-14 23:47:16 (GMT)
committerBrad King <brad.king@kitware.com>2003-02-14 23:47:16 (GMT)
commita02574158d178615cf8fd642695e5099b6041049 (patch)
treedf9f52770e9c2ff771988ae1a91ec0b2287548da /Source/cmLinkLibrariesCommand.h
parentdec0b5106611cbccd1f75c1fa3371d66bdd69a47 (diff)
downloadCMake-a02574158d178615cf8fd642695e5099b6041049.zip
CMake-a02574158d178615cf8fd642695e5099b6041049.tar.gz
CMake-a02574158d178615cf8fd642695e5099b6041049.tar.bz2
ENH: Cleaned up documentation and formatted it for use by cmDocumentation.
Diffstat (limited to 'Source/cmLinkLibrariesCommand.h')
-rw-r--r--Source/cmLinkLibrariesCommand.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/Source/cmLinkLibrariesCommand.h b/Source/cmLinkLibrariesCommand.h
index 729851b..7404d56 100644
--- a/Source/cmLinkLibrariesCommand.h
+++ b/Source/cmLinkLibrariesCommand.h
@@ -60,9 +60,7 @@ public:
*/
virtual const char* GetTerseDocumentation()
{
- return
- "Specify a list of libraries to be linked into\n"
- "executables or shared objects.";
+ return "Link libraries to all targets added later.";
}
/**
@@ -71,14 +69,15 @@ public:
virtual const char* GetFullDocumentation()
{
return
- "LINK_LIBRARIES(library1 <debug | optimized> library2 ...)\n"
+ " LINK_LIBRARIES(library1 <debug | optimized> library2 ...)\n"
"Specify a list of libraries to be linked into "
"any following targets (typically added with the ADD_EXECUTABLE "
"or ADD_LIBRARY calls). This command is passed "
- "down to all other commands. "
+ "down to all subdirectories. "
"The debug and optimized strings may be used to indicate that "
"the next library listed is to be used only for that specific "
- "type of build";
+ "type of build. Considure using TARGET_LINK_LIBRARIES for more "
+ "specific linking control.";
}
cmTypeMacro(cmLinkLibrariesCommand, cmCommand);