[Cmake-commits] [cmake-commits] king committed cmTarget.cxx 1.262 1.263

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Jul 10 13:53:50 EDT 2009


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

Modified Files:
	cmTarget.cxx 
Log Message:
ENH: Update LINKER_LANGUAGE and HAS_CXX docs

This updates the documentation of these properties to account for the
new automatic linker language computation.


Index: cmTarget.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmTarget.cxx,v
retrieving revision 1.262
retrieving revision 1.263
diff -C 2 -d -r1.262 -r1.263
*** cmTarget.cxx	10 Jul 2009 17:53:27 -0000	1.262
--- cmTarget.cxx	10 Jul 2009 17:53:48 -0000	1.263
***************
*** 197,204 ****
    cm->DefineProperty
      ("HAS_CXX", cmProperty::TARGET,
!      "Force a target to use the CXX linker.",
!      "Setting HAS_CXX on a target will force the target to use the "
!      "C++ linker (and C++ runtime libraries) for linking even if the "
!      "target has no C++ code in it.");
  
    cm->DefineProperty
--- 197,203 ----
    cm->DefineProperty
      ("HAS_CXX", cmProperty::TARGET,
!      "Link the target using the C++ linker tool (obselete).",
!      "This is equivalent to setting the LINKER_LANGUAGE property to CXX.  "
!      "See that property's documentation for details.");
  
    cm->DefineProperty
***************
*** 419,427 ****
    cm->DefineProperty
      ("LINKER_LANGUAGE", cmProperty::TARGET,
!      "What tool to use for linking, based on language.",
!      "The LINKER_LANGUAGE property is used to change the tool "
!      "used to link an executable or shared library. The default is "
!      "set the language to match the files in the library. CXX and C "
!      "are common values for this property.");
  
    cm->DefineProperty
--- 418,433 ----
    cm->DefineProperty
      ("LINKER_LANGUAGE", cmProperty::TARGET,
!      "Specifies language whose link tool should be used (obselete).",
!      "For executables, shared libraries, and modules, this sets the "
!      "language whose link tool is used to link the target "
!      "(such as \"C\" or \"CXX\").  "
!      "CMake 2.6 and below select a linker language automatically "
!      "based on the languages compiled into the target.  "
!      "This property overrides the default in case one of the "
!      "linked libraries uses another language.  "
!      "A typical example is a C executable linking to a static archive "
!      "containing C++ object files.  "
!      "CMake 2.8 and above account for languages in linked targets "
!      "automatically, making this property unnecessary.");
  
    cm->DefineProperty



More information about the Cmake-commits mailing list