diff options
author | Brad King <brad.king@kitware.com> | 2009-03-19 14:53:51 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-03-19 14:53:51 (GMT) |
commit | 6d02ee34c98b201700e675e3c3a7289d12f782c1 (patch) | |
tree | 6a6b9beacfa1ba7b3de9ea759d341fd701006f55 /Source/cmTarget.cxx | |
parent | c8f9ee6b7458a1c27eab0e0f57ac8ed0307f6cd2 (diff) | |
download | CMake-6d02ee34c98b201700e675e3c3a7289d12f782c1.zip CMake-6d02ee34c98b201700e675e3c3a7289d12f782c1.tar.gz CMake-6d02ee34c98b201700e675e3c3a7289d12f782c1.tar.bz2 |
ENH: Mention CMAKE_* variables in RPATH properties
The RPATH target properties are initialized by CMAKE_<prop> variables at
target creation time. This notes the feature in the property
documentation. It is already noted in the variable documentation.
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 5bd141d..6b6635d 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -73,7 +73,9 @@ void cmTarget::DefineProperties(cmake *cm) "BUILD_WITH_INSTALL_RPATH is a boolean specifying whether to link " "the target in the build tree with the INSTALL_RPATH. This takes " "precedence over SKIP_BUILD_RPATH and avoids the need for relinking " - "before installation."); + "before installation. " + "This property is initialized by the value of the variable " + "CMAKE_BUILD_WITH_INSTALL_RPATH if it is set when a target is created."); cm->DefineProperty ("CLEAN_DIRECT_OUTPUT", cmProperty::TARGET, @@ -341,14 +343,19 @@ void cmTarget::DefineProperties(cmake *cm) ("INSTALL_RPATH", cmProperty::TARGET, "The rpath to use for installed targets.", "A semicolon-separated list specifying the rpath " - "to use in installed targets (for platforms that support it)."); + "to use in installed targets (for platforms that support it). " + "This property is initialized by the value of the variable " + "CMAKE_INSTALL_RPATH if it is set when a target is created."); cm->DefineProperty ("INSTALL_RPATH_USE_LINK_PATH", cmProperty::TARGET, "Add paths to linker search and installed rpath.", "INSTALL_RPATH_USE_LINK_PATH is a boolean that if set to true will " "append directories in the linker search path and outside the " - "project to the INSTALL_RPATH. "); + "project to the INSTALL_RPATH. " + "This property is initialized by the value of the variable " + "CMAKE_INSTALL_RPATH_USE_LINK_PATH if it is set when a target is " + "created."); cm->DefineProperty ("LABELS", cmProperty::TARGET, @@ -546,7 +553,9 @@ void cmTarget::DefineProperties(cmake *cm) "Should rpaths be used for the build tree.", "SKIP_BUILD_RPATH is a boolean specifying whether to skip automatic " "generation of an rpath allowing the target to run from the " - "build tree. "); + "build tree. " + "This property is initialized by the value of the variable " + "CMAKE_SKIP_BUILD_RPATH if it is set when a target is created."); cm->DefineProperty ("SOVERSION", cmProperty::TARGET, |