From 6d02ee34c98b201700e675e3c3a7289d12f782c1 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 19 Mar 2009 10:53:51 -0400 Subject: [PATCH] ENH: Mention CMAKE_* variables in RPATH properties The RPATH target properties are initialized by CMAKE_ variables at target creation time. This notes the feature in the property documentation. It is already noted in the variable documentation. --- Source/cmTarget.cxx | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 5bd141d97..6b6635dc7 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,