[Cmake-commits] [cmake-commits] king committed CMakeLists.txt 1.13 1.14

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Aug 18 10:11:31 EDT 2008


Update of /cvsroot/CMake/CMake/Tests/ExportImport/Export
In directory public:/mounts/ram/cvs-serv26796/Tests/ExportImport/Export

Modified Files:
	CMakeLists.txt 
Log Message:
ENH: Make link interface mode more distinct

Rename the recently added INTERFACE mode of the target_link_libraries()
command to LINK_INTERFACE_LIBRARIES.  This makes it much more distinct
from a normal call to the command, and clearly states its connection to
the property of the same name.  Also require the option to appear
immediately after the target name to make it a mode rather than an
option.


Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/ExportImport/Export/CMakeLists.txt,v
retrieving revision 1.13
retrieving revision 1.14
diff -C 2 -d -r1.13 -r1.14
*** CMakeLists.txt	12 Aug 2008 21:27:48 -0000	1.13
--- CMakeLists.txt	18 Aug 2008 14:11:29 -0000	1.14
***************
*** 55,59 ****
  set_property(TARGET testLib4libopt PROPERTY COMPILE_DEFINITIONS LIB_OPT)
  target_link_libraries(testLib4
!   INTERFACE testLib4lib debug testLib4libdbg optimized testLib4libopt
    )
  
--- 55,60 ----
  set_property(TARGET testLib4libopt PROPERTY COMPILE_DEFINITIONS LIB_OPT)
  target_link_libraries(testLib4
!   LINK_INTERFACE_LIBRARIES
!   testLib4lib debug testLib4libdbg optimized testLib4libopt
    )
  



More information about the Cmake-commits mailing list