ENH: Patch from Alex to make deprecated command documentation more consistent.

This commit is contained in:
Brad King
2007-01-24 13:45:42 -05:00
parent 03a46e0381
commit f71ad851d8
11 changed files with 16 additions and 22 deletions
+2 -4
View File
@@ -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 "