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/cmDocumentVariables.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/cmDocumentVariables.cxx')
-rw-r--r-- | Source/cmDocumentVariables.cxx | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/Source/cmDocumentVariables.cxx b/Source/cmDocumentVariables.cxx index 25ef0b2..a6d06f0 100644 --- a/Source/cmDocumentVariables.cxx +++ b/Source/cmDocumentVariables.cxx @@ -822,18 +822,23 @@ void cmDocumentVariables::DefineVariables(cmake* cm) "See that target property for additional information.", 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.", + "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, "Use the install path for the RPATH", |