[Cmake-commits] [cmake-commits] king committed cmDocumentVariables.cxx 1.21 1.22 cmTarget.cxx 1.229 1.230

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Dec 15 13:30:11 EST 2008


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

Modified Files:
	cmDocumentVariables.cxx cmTarget.cxx 
Log Message:
BUG: Fix <CONFIG>_POSTFIX property/variable docs

The CMAKE_<CONFIG>_POSTFIX variable and <CONFIG>_POSTFIX property were
not documented.  This updates the CMAKE_DEBUG_POSTFIX and DEBUG_POSTFIX
documentation to refer to the more general variable/property.  It also
clarifies that the variable is used as the property default only for
non-executable targets.  See issue #7868.


Index: cmDocumentVariables.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmDocumentVariables.cxx,v
retrieving revision 1.21
retrieving revision 1.22
diff -C 2 -d -r1.21 -r1.22
*** cmDocumentVariables.cxx	21 Aug 2008 13:54:36 -0000	1.21
--- cmDocumentVariables.cxx	15 Dec 2008 18:30:09 -0000	1.22
***************
*** 823,838 ****
       false,
       "Variables that Control the Build");
-   
  
    cm->DefineProperty
      ("CMAKE_DEBUG_POSTFIX", cmProperty::VARIABLE,
!      "A postfix to add to targets when build as debug.",
!      "This variable is used to initialize the DEBUG_POSTFIX "
!      "property on all the targets. If set the postfix will be "
!      "appended to any targets built when the configuration is "
!      "Debug.",
       false,
       "Variables that Control the Build");
!   
    cm->DefineProperty
      ("CMAKE_BUILD_WITH_INSTALL_RPATH", cmProperty::VARIABLE,
--- 823,843 ----
       false,
       "Variables that Control the Build");
  
    cm->DefineProperty
      ("CMAKE_DEBUG_POSTFIX", cmProperty::VARIABLE,
!      "See variable CMAKE_<CONFIG>_POSTFIX.",
!      "This variable is a special case of the more-general "
!      "CMAKE_<CONFIG>_POSTFIX variable for the DEBUG configuration.",
       false,
       "Variables that Control the Build");
!   cm->DefineProperty
!     ("CMAKE_<CONFIG>_POSTFIX", cmProperty::VARIABLE,
!      "Default filename postfix for libraries under configuration <CONFIG>.",
!      "When a non-executable target is created its <CONFIG>_POSTFIX "
!      "target property is initialized with the value of this variable "
!      "if it is set.",
!      false,
!      "Variables that Control the Build");
! 
    cm->DefineProperty
      ("CMAKE_BUILD_WITH_INSTALL_RPATH", cmProperty::VARIABLE,

Index: cmTarget.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmTarget.cxx,v
retrieving revision 1.229
retrieving revision 1.230
diff -C 2 -d -r1.229 -r1.230
*** cmTarget.cxx	7 Oct 2008 20:46:25 -0000	1.229
--- cmTarget.cxx	15 Dec 2008 18:30:09 -0000	1.230
***************
*** 136,143 ****
    cm->DefineProperty
      ("DEBUG_POSTFIX", cmProperty::TARGET,
!      "A postfix that will be applied to this target when build debug.",
!      "A property on a target that specifies a postfix to add to the "
!      "target name when built in debug mode. For example \"foo.dll\" "
!      "versus \"fooD.dll\".  Ignored for Mac Frameworks and App Bundles.");
  
    cm->DefineProperty
--- 136,152 ----
    cm->DefineProperty
      ("DEBUG_POSTFIX", cmProperty::TARGET,
!      "See target property <CONFIG>_POSTFIX.",
!      "This property is a special case of the more-general <CONFIG>_POSTFIX "
!      "property for the DEBUG configuration.");
! 
!   cm->DefineProperty
!     ("<CONFIG>_POSTFIX", cmProperty::TARGET,
!      "Postfix to append to the target file name for configuration <CONFIG>.",
!      "When building with configuration <CONFIG> the value of this property "
!      "is appended to the target file name built on disk.  "
!      "For non-executable targets, this property is initialized by the value "
!      "of the variable CMAKE_<CONFIG>_POSTFIX if it is set when a target is "
!      "created.  "
!      "This property is ignored on the Mac for Frameworks and App Bundles.");
  
    cm->DefineProperty



More information about the Cmake-commits mailing list