diff options
author | Brad King <brad.king@kitware.com> | 2015-02-11 16:48:02 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-02-11 20:12:16 (GMT) |
commit | 290ca8e2d0328d27f51ff5248c35e32e44fdd1eb (patch) | |
tree | d87e3cd4a2c7d7d538ed1bc53f769fc69f198d39 /Source/cmInstallGenerator.h | |
parent | f99991db882c2f4cf8246b9c272845faaa5bbce5 (diff) | |
download | CMake-290ca8e2d0328d27f51ff5248c35e32e44fdd1eb.zip CMake-290ca8e2d0328d27f51ff5248c35e32e44fdd1eb.tar.gz CMake-290ca8e2d0328d27f51ff5248c35e32e44fdd1eb.tar.bz2 |
cmInstallGenerator: Refactor computation of absolute install dest
Replace the GetInstallDestination method, which looked up the
Destination ivar, with a new ConvertToAbsoluteDestination method that
takes the nominal destination as an argument. Update call sites
accordingly. This will allow some clients to transform the install
destination before calling the method.
Diffstat (limited to 'Source/cmInstallGenerator.h')
-rw-r--r-- | Source/cmInstallGenerator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmInstallGenerator.h b/Source/cmInstallGenerator.h index eeeca15..1e87bda 100644 --- a/Source/cmInstallGenerator.h +++ b/Source/cmInstallGenerator.h @@ -52,7 +52,7 @@ public: /** Get the install destination as it should appear in the installation script. */ - std::string GetInstallDestination() const; + std::string ConvertToAbsoluteDestination(std::string const& dest) const; /** Test if this generator installs something for a given configuration. */ bool InstallsForConfig(const std::string& config); |