diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-10-30 20:59:54 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-10-30 20:59:54 (GMT) |
commit | 7ded253013b60f7c36b65e0346c658b88f6cffd3 (patch) | |
tree | d650b5e0cc64a66ad872430d9550cd5e267d51c5 /Source/cmake.h | |
parent | b2240ef6afae619545758ec4184c19c8fd0a2ae9 (diff) | |
download | CMake-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.h | 8 |
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 |