summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallFilesGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-02-21 21:47:34 (GMT)
committerBrad King <brad.king@kitware.com>2014-02-21 22:05:26 (GMT)
commit6e89c8a5f1d5aa9bffa95be2b1add8d2c4e55026 (patch)
treecc732c0ab42e7435005ac0c51f71b765f28b828e /Source/cmInstallFilesGenerator.h
parentf11f7b34a8e77c3bd68578f00b57e0884cb0d872 (diff)
downloadCMake-6e89c8a5f1d5aa9bffa95be2b1add8d2c4e55026.zip
CMake-6e89c8a5f1d5aa9bffa95be2b1add8d2c4e55026.tar.gz
CMake-6e89c8a5f1d5aa9bffa95be2b1add8d2c4e55026.tar.bz2
install: Support generator expressions in FILES and PROGRAMS mode
Teach the install(FILES) and install(PROGRAMS) commands to evaluate generator expressions in the list of files. Extend the ExportImport test to cover installation cases involving generator expressions.
Diffstat (limited to 'Source/cmInstallFilesGenerator.h')
-rw-r--r--Source/cmInstallFilesGenerator.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmInstallFilesGenerator.h b/Source/cmInstallFilesGenerator.h
index 02b005e..9dea296 100644
--- a/Source/cmInstallFilesGenerator.h
+++ b/Source/cmInstallFilesGenerator.h
@@ -34,6 +34,11 @@ public:
protected:
virtual void GenerateScriptActions(std::ostream& os, Indent const& indent);
+ virtual void GenerateScriptForConfig(std::ostream& os,
+ const char* config,
+ Indent const& indent);
+ void AddFilesInstallRule(std::ostream& os, Indent const& indent,
+ std::vector<std::string> const& files);
cmMakefile* Makefile;
std::vector<std::string> Files;