[Cmake-commits] [cmake-commits] king committed cmTargetLinkLibrariesCommand.h 1.19 1.20
cmake-commits at cmake.org
cmake-commits at cmake.org
Mon Feb 2 09:42:26 EST 2009
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv6168/Source
Modified Files:
cmTargetLinkLibrariesCommand.h
Log Message:
ENH: Clarify target_link_libraries docs
The target_link_libraries command supports flags as well as libraries.
This makes the support explicit in the documentation.
Index: cmTargetLinkLibrariesCommand.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmTargetLinkLibrariesCommand.h,v
retrieving revision 1.19
retrieving revision 1.20
diff -C 2 -d -r1.19 -r1.20
*** cmTargetLinkLibrariesCommand.h 4 Sep 2008 21:34:24 -0000 1.19
--- cmTargetLinkLibrariesCommand.h 2 Feb 2009 14:42:23 -0000 1.20
***************
*** 65,74 ****
{
return
! " target_link_libraries(<target> [lib1 [lib2 [...]]]\n"
! " [[debug|optimized|general] <lib>] ...)\n"
! "Specify a list of libraries to be linked into the specified target. "
! "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."
"\n"
"A \"debug\", \"optimized\", or \"general\" keyword indicates that "
--- 65,76 ----
{
return
! " target_link_libraries(<target> [item1 [item2 [...]]]\n"
! " [[debug|optimized|general] <item>] ...)\n"
! "Specify libraries or flags to use when linking a given target. "
! "If a library name matches that of another target in the 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. "
! "Item names starting with '-', but not '-l' or '-framework', are "
! "treated as linker flags."
"\n"
"A \"debug\", \"optimized\", or \"general\" keyword indicates that "
More information about the Cmake-commits
mailing list