diff options
author | Brad King <brad.king@kitware.com> | 2008-04-14 19:02:44 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-04-14 19:02:44 (GMT) |
commit | fdc3bfff7ce4b52536dd0a61f43947b770817399 (patch) | |
tree | 22d62b6079f298cf0cafdd2f357f9ec875491871 /Source/cmInstallTargetGenerator.h | |
parent | b9a5dccc8da342d72c9bd5563c38cfad55a9ad89 (diff) | |
download | CMake-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.h | 3 |
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, |