diff options
author | Patrick Gansterer <paroga@paroga.com> | 2012-11-19 14:48:33 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-11-19 17:54:30 (GMT) |
commit | e8f841473bcefc618ddf6712567e624156e88399 (patch) | |
tree | 2c77a631bcf9ee7c0cf731354db30c87a1cae312 /Source/cmake.h | |
parent | 3359d95c00c221328d284e443c1d49e12630be63 (diff) | |
download | CMake-e8f841473bcefc618ddf6712567e624156e88399.zip CMake-e8f841473bcefc618ddf6712567e624156e88399.tar.gz CMake-e8f841473bcefc618ddf6712567e624156e88399.tar.bz2 |
Introduce the abstract class cmGlobalGeneratorFactory
This new abstract class allows us move some logic from the
cmGlobalGenerator into its own layer in a next step.
Diffstat (limited to 'Source/cmake.h')
-rw-r--r-- | Source/cmake.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmake.h b/Source/cmake.h index 94c6f12..e6bfa44 100644 --- a/Source/cmake.h +++ b/Source/cmake.h @@ -17,6 +17,7 @@ #include "cmPropertyDefinitionMap.h" #include "cmPropertyMap.h" +class cmGlobalGeneratorFactory; class cmGlobalGenerator; class cmLocalGenerator; class cmCacheManager; @@ -396,10 +397,8 @@ protected: cmExternalMakefileProjectGenerator* (*CreateExtraGeneratorFunctionType)(); typedef std::map<cmStdString, CreateExtraGeneratorFunctionType> RegisteredExtraGeneratorsMap; - - typedef cmGlobalGenerator* (*CreateGeneratorFunctionType)(); typedef std::map<cmStdString, - CreateGeneratorFunctionType> RegisteredGeneratorsMap; + cmGlobalGeneratorFactory*> RegisteredGeneratorsMap; RegisteredCommandsMap Commands; RegisteredGeneratorsMap Generators; RegisteredExtraGeneratorsMap ExtraGenerators; |