summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 04ae274..4a95ca1 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -354,6 +354,15 @@ void cmLocalGenerator::GenerateInstallRules()
exeOutPath = currdir + "/";
}
+ // Include user-specified install scripts.
+ std::vector<std::string> const& installScripts =
+ m_Makefile->GetInstallScripts();
+ for(std::vector<std::string>::const_iterator s = installScripts.begin();
+ s != installScripts.end(); ++s)
+ {
+ fout << "INCLUDE(\"" << s->c_str() << "\")" << std::endl;
+ }
+
std::string destination;
for(cmTargets::iterator l = tgts.begin();
l != tgts.end(); l++)