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/cmFileCommand.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/cmFileCommand.h')
-rw-r--r-- | Source/cmFileCommand.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmFileCommand.h b/Source/cmFileCommand.h index 85bdc32..3f72cd2 100644 --- a/Source/cmFileCommand.h +++ b/Source/cmFileCommand.h @@ -171,7 +171,9 @@ protected: bool HandleRelativePathCommand(std::vector<std::string> const& args); bool HandleCMakePathCommand(std::vector<std::string> const& args, bool nativePath); - bool HandleChrpathCommand(std::vector<std::string> const& args); + bool HandleRPathChangeCommand(std::vector<std::string> const& args); + bool HandleRPathCheckCommand(std::vector<std::string> const& args); + bool HandleRPathRemoveCommand(std::vector<std::string> const& args); // file(INSTALL ...) related functions bool HandleInstallCommand(std::vector<std::string> const& args); |