mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-21 13:48:33 -05:00
ENH: Patch from Alex to make deprecated command documentation more consistent.
This commit is contained in:
@@ -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 "
|
||||
|
||||
Reference in New Issue
Block a user