diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-06-08 15:57:16 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-06-08 15:57:16 (GMT) |
commit | 0ddc9f62e59b2b97625f50eb444093bb36950113 (patch) | |
tree | bdba7bdfa514c60404e900724bbe3f52b340fcd9 /Source/cmake.h | |
parent | 79077f83731e598298ec35392911848f87d32f23 (diff) | |
download | CMake-0ddc9f62e59b2b97625f50eb444093bb36950113.zip CMake-0ddc9f62e59b2b97625f50eb444093bb36950113.tar.gz CMake-0ddc9f62e59b2b97625f50eb444093bb36950113.tar.bz2 |
ENH: add cmExternalMakefileProjectGenerator, which should make it easier to
write generators for IDE projects, which use already existing makefiles
(current the kdevelop generator)
-first stept of the export interface, iniitial export() command
-more replacements for the FIND_XXX docs
Alex
Diffstat (limited to 'Source/cmake.h')
-rw-r--r-- | Source/cmake.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Source/cmake.h b/Source/cmake.h index 3e7b5fa..5149d82 100644 --- a/Source/cmake.h +++ b/Source/cmake.h @@ -51,6 +51,7 @@ class cmMakefile; class cmCommand; class cmVariableWatch; class cmFileTimeComparison; +class cmExternalMakefileProjectGenerator; class cmake { @@ -305,14 +306,22 @@ protected: cmPropertyDefinitionMap DirectoryProperties; cmPropertyDefinitionMap TestProperties; cmPropertyDefinitionMap GlobalProperties; - + + typedef + cmExternalMakefileProjectGenerator* (*CreateExtraGeneratorFunctionType)(); + typedef std::map<cmStdString, + CreateExtraGeneratorFunctionType> RegisteredExtraGeneratorsMap; + typedef cmGlobalGenerator* (*CreateGeneratorFunctionType)(); typedef std::map<cmStdString, CreateGeneratorFunctionType> RegisteredGeneratorsMap; RegisteredCommandsMap Commands; RegisteredGeneratorsMap Generators; + RegisteredExtraGeneratorsMap ExtraGenerators; void AddDefaultCommands(); void AddDefaultGenerators(); + void AddDefaultExtraGenerators(); + void AddExtraGenerator(const char* name, CreateExtraGeneratorFunctionType newFunction); cmGlobalGenerator *GlobalGenerator; cmCacheManager *CacheManager; |