summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmake.h')
-rw-r--r--Source/cmake.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmake.h b/Source/cmake.h
index 643dfec..0bb467d 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -284,6 +284,12 @@ class cmake
// Do we want debug output during the cmake run.
bool GetDebugOutput() { return this->DebugOutput; }
void DebugOutputOn() { this->DebugOutput = true;}
+
+ //! Add or get installation components
+ void AddInstallComponent(const char* component);
+ std::set<cmStdString>* GetInstallComponents()
+ { return &this->InstallComponents; }
+
protected:
typedef cmGlobalGenerator* (*CreateGeneratorFunctionType)();
typedef std::map<cmStdString,
@@ -302,6 +308,8 @@ protected:
std::set<cmStdString> WrittenFiles;
+ std::set<cmStdString> InstallComponents;
+
///! return true if the same cmake was used to make the cache.
bool CacheVersionMatches();
///! read in a cmake list file to initialize the cache