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.cxx | |
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.cxx')
-rw-r--r-- | Source/cmake.cxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 7929227..e5ebac7 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -1307,6 +1307,18 @@ int cmake::ExecuteCMakeCommand(std::vector<std::string>& args) return 1; } +//---------------------------------------------------------------------------- +void cmake::AddInstallComponent(const char* component) +{ + if ( !component ) + { + return; + } + this->InstallComponents.insert(component); +} + + +//---------------------------------------------------------------------------- void cmake::GetRegisteredGenerators(std::vector<std::string>& names) { for(RegisteredGeneratorsMap::const_iterator i = this->Generators.begin(); |