summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallDirectoryGenerator.h
diff options
context:
space:
mode:
authorRobert Goulet <robert.goulet@autodesk.com>2015-09-23 21:15:29 (GMT)
committerBrad King <brad.king@kitware.com>2015-09-24 13:13:03 (GMT)
commitbd189cc24e2292ab80dde7c0d0ac1cd9fafb2d35 (patch)
tree27ffc539451f22c4aff837ba8d5b26e97d52ad98 /Source/cmInstallDirectoryGenerator.h
parent69ab5f55026c7e884a70f04aa7ddef776f74305b (diff)
downloadCMake-bd189cc24e2292ab80dde7c0d0ac1cd9fafb2d35.zip
CMake-bd189cc24e2292ab80dde7c0d0ac1cd9fafb2d35.tar.gz
CMake-bd189cc24e2292ab80dde7c0d0ac1cd9fafb2d35.tar.bz2
install: Allow generator expressions in DIRECTORY DESTINATION
Diffstat (limited to 'Source/cmInstallDirectoryGenerator.h')
-rw-r--r--Source/cmInstallDirectoryGenerator.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/cmInstallDirectoryGenerator.h b/Source/cmInstallDirectoryGenerator.h
index 165ab91..04107e1 100644
--- a/Source/cmInstallDirectoryGenerator.h
+++ b/Source/cmInstallDirectoryGenerator.h
@@ -31,8 +31,19 @@ public:
bool optional = false);
virtual ~cmInstallDirectoryGenerator();
+ 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 AddDirectoryInstallRule(std::ostream& os,
+ const std::string& config,
+ Indent const& indent);
+ cmLocalGenerator* LocalGenerator;
std::vector<std::string> Directories;
std::string FilePermissions;
std::string DirPermissions;