diff options
author | Brad King <brad.king@kitware.com> | 2004-03-25 13:45:46 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2004-03-25 13:45:46 (GMT) |
commit | a109ba1365e608d11200470e4d3ee4b1fa24caed (patch) | |
tree | a31aa1c4d8bcfaa215f2ffa4261125bba7cc2930 /Source/cmLinkLibrariesCommand.h | |
parent | 39bf5916e124ad9ef78115cf5acf43e5335e465c (diff) | |
download | CMake-a109ba1365e608d11200470e4d3ee4b1fa24caed.zip CMake-a109ba1365e608d11200470e4d3ee4b1fa24caed.tar.gz CMake-a109ba1365e608d11200470e4d3ee4b1fa24caed.tar.bz2 |
ENH: Clarified documentation for LINK_LIBRARIES and TARGET_LINK_LIBRARIES.
Diffstat (limited to 'Source/cmLinkLibrariesCommand.h')
-rw-r--r-- | Source/cmLinkLibrariesCommand.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmLinkLibrariesCommand.h b/Source/cmLinkLibrariesCommand.h index 928d30a..c9b7c53 100644 --- a/Source/cmLinkLibrariesCommand.h +++ b/Source/cmLinkLibrariesCommand.h @@ -69,14 +69,16 @@ public: { return " LINK_LIBRARIES(library1 <debug | optimized> library2 ...)\n" + "This is an old CMake command for linking libraries. Use " + "TARGET_LINK_LIBRARIES unless you have a good reason for every target " + "to link to the same set of libraries.\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 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. Considure using TARGET_LINK_LIBRARIES for more " - "specific linking control."; + "type of build."; } cmTypeMacro(cmLinkLibrariesCommand, cmCommand); |