[Cmake-commits] [cmake-commits] king committed cmTarget.cxx 1.222 1.223

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Aug 19 10:29:37 EDT 2008


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

Modified Files:
	cmTarget.cxx 
Log Message:
ENH: Clarify link interface documentation

The LINK_INTERFACE_LIBRARIES property does not apply for STATIC
libraries.  The IMPORTED_LINK_INTERFACE_LIBRARIES property does apply
for STATIC libraries.  State both explicitly in the documentation.
Also, clarify that the per-configuration version of these properties
completely overrids the generic version.


Index: cmTarget.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmTarget.cxx,v
retrieving revision 1.222
retrieving revision 1.223
diff -C 2 -d -r1.222 -r1.223
*** cmTarget.cxx	18 Aug 2008 15:39:22 -0000	1.222
--- cmTarget.cxx	19 Aug 2008 14:29:35 -0000	1.223
***************
*** 247,251 ****
       "configuration of an imported target.  "
       "Configuration names correspond to those provided by the project "
!      "from which the target is imported.");
  
    cm->DefineProperty
--- 247,253 ----
       "configuration of an imported target.  "
       "Configuration names correspond to those provided by the project "
!      "from which the target is imported.  "
!      "If set, this property completely overrides the generic property "
!      "for the named configuration.");
  
    cm->DefineProperty
***************
*** 255,259 ****
       "target is linked to another target.  "
       "The libraries will be included on the link line for the target.  "
!      "Ignored for non-imported targets.");
  
    cm->DefineProperty
--- 257,263 ----
       "target is linked to another target.  "
       "The libraries will be included on the link line for the target.  "
!      "Unlike the LINK_INTERFACE_LIBRARIES property, this property applies "
!      "to all imported target types, including STATIC libraries.  "
!      "This property is ignored for non-imported targets.");
  
    cm->DefineProperty
***************
*** 263,267 ****
       "configuration of an imported target.  "
       "Configuration names correspond to those provided by the project "
!      "from which the target is imported.");
  
    cm->DefineProperty
--- 267,273 ----
       "configuration of an imported target.  "
       "Configuration names correspond to those provided by the project "
!      "from which the target is imported.  "
!      "If set, this property completely overrides the generic property "
!      "for the named configuration.");
  
    cm->DefineProperty
***************
*** 401,405 ****
       "If the list is empty then no transitive link dependencies will be "
       "incorporated when this target is linked into another target even if "
!      "the default set is non-empty.");
  
    cm->DefineProperty
--- 407,412 ----
       "If the list is empty then no transitive link dependencies will be "
       "incorporated when this target is linked into another target even if "
!      "the default set is non-empty.  "
!      "This property is ignored for STATIC libraries.");
  
    cm->DefineProperty
***************
*** 407,411 ****
       "Per-configuration list of public interface libraries for a target.",
       "This is the configuration-specific version of "
!      "LINK_INTERFACE_LIBRARIES.");
  
    cm->DefineProperty
--- 414,420 ----
       "Per-configuration list of public interface libraries for a target.",
       "This is the configuration-specific version of "
!      "LINK_INTERFACE_LIBRARIES.  "
!      "If set, this property completely overrides the generic property "
!      "for the named configuration.");
  
    cm->DefineProperty



More information about the Cmake-commits mailing list