summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallTargetGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-04-14 19:02:44 (GMT)
committerBrad King <brad.king@kitware.com>2008-04-14 19:02:44 (GMT)
commitfdc3bfff7ce4b52536dd0a61f43947b770817399 (patch)
tree22d62b6079f298cf0cafdd2f357f9ec875491871 /Source/cmInstallTargetGenerator.h
parentb9a5dccc8da342d72c9bd5563c38cfad55a9ad89 (diff)
downloadCMake-fdc3bfff7ce4b52536dd0a61f43947b770817399.zip
CMake-fdc3bfff7ce4b52536dd0a61f43947b770817399.tar.gz
CMake-fdc3bfff7ce4b52536dd0a61f43947b770817399.tar.bz2
ENH: Improve RPATH behavior during installation.
- If new RPATH is empty then remove the entry completely - Preserve file modification time so installation is not repeated - If installed file already exists remove it if its RPATH does not match that expected
Diffstat (limited to 'Source/cmInstallTargetGenerator.h')
-rw-r--r--Source/cmInstallTargetGenerator.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmInstallTargetGenerator.h b/Source/cmInstallTargetGenerator.h
index 95c255d..61357b3 100644
--- a/Source/cmInstallTargetGenerator.h
+++ b/Source/cmInstallTargetGenerator.h
@@ -80,6 +80,9 @@ protected:
void AddChrpathPatchRule(std::ostream& os, Indent const& indent,
const char* config,
std::string const& toDestDirPath);
+ void AddRPathCheckRule(std::ostream& os, Indent const& indent,
+ const char* config,
+ std::string const& toDestDirPath);
void AddStripRule(std::ostream& os, Indent const& indent,
cmTarget::TargetType type,