summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index f6418ba..cdd0adc 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -671,7 +671,12 @@ public:
///! Set/Get the preorder flag
void SetPreOrder(bool p) { this->PreOrder = p; }
bool GetPreOrder() { return this->PreOrder; }
-
+
+ /** Add a script file to be invoked during installation. */
+ void AddInstallScript(const char* script)
+ { m_InstallScripts.push_back(script); }
+ std::vector<std::string> const& GetInstallScripts()
+ { return m_InstallScripts; }
protected:
// add link libraries and directories to the target
void AddGlobalLinkInformation(const char* name, cmTarget& target);
@@ -704,6 +709,9 @@ protected:
cmTarget::LinkLibraries m_LinkLibraries;
+ // List of install-time scripts. This should not be inherited.
+ std::vector<std::string> m_InstallScripts;
+
std::string m_IncludeFileRegularExpression;
std::string m_ComplainFileRegularExpression;
std::vector<std::string> m_SourceFileExtensions;