summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-10-30 20:59:54 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-10-30 20:59:54 (GMT)
commit7ded253013b60f7c36b65e0346c658b88f6cffd3 (patch)
treed650b5e0cc64a66ad872430d9550cd5e267d51c5 /Source/cmake.h
parentb2240ef6afae619545758ec4184c19c8fd0a2ae9 (diff)
downloadCMake-7ded253013b60f7c36b65e0346c658b88f6cffd3.zip
CMake-7ded253013b60f7c36b65e0346c658b88f6cffd3.tar.gz
CMake-7ded253013b60f7c36b65e0346c658b88f6cffd3.tar.bz2
ENH: Add support for displaying the list of components
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