diff options
author | Robert Goulet <robert.goulet@autodesk.com> | 2015-09-23 17:40:27 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-09-23 18:37:17 (GMT) |
commit | 17aa6fd36284ad937bfce370cf8d5e5de87a334b (patch) | |
tree | 2305380ddecce1f8de5c617c65c4ea729d347901 /Source/cmInstallFilesGenerator.h | |
parent | c3b3284c931d6368e4f100fc19ed8f2efdebd9fa (diff) | |
download | CMake-17aa6fd36284ad937bfce370cf8d5e5de87a334b.zip CMake-17aa6fd36284ad937bfce370cf8d5e5de87a334b.tar.gz CMake-17aa6fd36284ad937bfce370cf8d5e5de87a334b.tar.bz2 |
install: Allow generator expressions in FILES DESTINATION
Diffstat (limited to 'Source/cmInstallFilesGenerator.h')
-rw-r--r-- | Source/cmInstallFilesGenerator.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmInstallFilesGenerator.h b/Source/cmInstallFilesGenerator.h index 00b3a79..bfe4039 100644 --- a/Source/cmInstallFilesGenerator.h +++ b/Source/cmInstallFilesGenerator.h @@ -32,12 +32,16 @@ public: void Compute(cmLocalGenerator* lg); + std::string GetDestination(std::string const& config) const; + protected: virtual void GenerateScriptActions(std::ostream& os, Indent const& indent); virtual void GenerateScriptForConfig(std::ostream& os, const std::string& config, Indent const& indent); - void AddFilesInstallRule(std::ostream& os, Indent const& indent, + void AddFilesInstallRule(std::ostream& os, + const std::string config, + Indent const& indent, std::vector<std::string> const& files); cmLocalGenerator* LocalGenerator; |