[cmake-commits] king committed cmTargetLinkLibrariesCommand.h 1.14 1.15

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Feb 6 15:23:38 EST 2008


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv30279/Source

Modified Files:
	cmTargetLinkLibrariesCommand.h 
Log Message:
STYLE: Improve documentation of target_link_libraries command to make target-level dependency explicit.  See bug #6043.


Index: cmTargetLinkLibrariesCommand.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmTargetLinkLibrariesCommand.h,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- cmTargetLinkLibrariesCommand.h	23 Jan 2008 15:27:59 -0000	1.14
+++ cmTargetLinkLibrariesCommand.h	6 Feb 2008 20:23:36 -0000	1.15
@@ -71,7 +71,10 @@
       "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. general indicates it is used for all build types "
-      "and is assumed if not specified.";
+      "and is assumed if not specified.\n"
+      "If any library name matches that of a target in the current project "
+      "a dependency will automatically be added in the build system to make "
+      "sure the library being linked is up-to-date before the target links.";
     }
   
   cmTypeMacro(cmTargetLinkLibrariesCommand, cmCommand);



More information about the Cmake-commits mailing list