summaryrefslogtreecommitdiffstats
path: root/Source/cmLinkLibrariesCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-01-24 18:45:42 (GMT)
committerBrad King <brad.king@kitware.com>2007-01-24 18:45:42 (GMT)
commitf71ad851d81649c59a8f4724d72ba4c935cdefce (patch)
tree0f99fc5c4ea9ecd94a2fa0b7ab222373b5ee4004 /Source/cmLinkLibrariesCommand.h
parent03a46e03810ea22c357033bd83508c47766592d6 (diff)
downloadCMake-f71ad851d81649c59a8f4724d72ba4c935cdefce.zip
CMake-f71ad851d81649c59a8f4724d72ba4c935cdefce.tar.gz
CMake-f71ad851d81649c59a8f4724d72ba4c935cdefce.tar.bz2
ENH: Patch from Alex to make deprecated command documentation more consistent.
Diffstat (limited to 'Source/cmLinkLibrariesCommand.h')
-rw-r--r--Source/cmLinkLibrariesCommand.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/cmLinkLibrariesCommand.h b/Source/cmLinkLibrariesCommand.h
index cd9a34f..9e860e9 100644
--- a/Source/cmLinkLibrariesCommand.h
+++ b/Source/cmLinkLibrariesCommand.h
@@ -53,7 +53,7 @@ public:
*/
virtual const char* GetTerseDocumentation()
{
- return "Link libraries to all targets added later.";
+ return "Deprecated. Use the TARGET_LINK_LIBRARIES() command instead.";
}
/**
@@ -62,10 +62,8 @@ public:
virtual const char* GetFullDocumentation()
{
return
+ "Link libraries to all targets added later.\n"
" 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 "