diff options
author | Brad King <brad.king@kitware.com> | 2008-12-15 18:30:09 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-12-15 18:30:09 (GMT) |
commit | e4325e7d9cad46fc555c35699afc9753a82a8ebf (patch) | |
tree | bfc3f0354000681fdece87bbb721c271dc2662f8 /Source/cmTarget.cxx | |
parent | 7b6ac0db832cf8f041036eebcbb04a828368c6d8 (diff) | |
download | CMake-e4325e7d9cad46fc555c35699afc9753a82a8ebf.zip CMake-e4325e7d9cad46fc555c35699afc9753a82a8ebf.tar.gz CMake-e4325e7d9cad46fc555c35699afc9753a82a8ebf.tar.bz2 |
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.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 6c36e50..0702be3 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -135,10 +135,19 @@ void cmTarget::DefineProperties(cmake *cm) 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."); + "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 ("EchoString", cmProperty::TARGET, |