summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-07-08 01:52:10 (GMT)
committerBrad King <brad.king@kitware.com>2003-07-08 01:52:10 (GMT)
commite5ed57ec18e1cd1d460bd77391db15a5d4afdcc1 (patch)
tree1a6c2c3b22eb90c0dfd647e08b05aea8f603f439 /Source/cmake.h
parentcbb1de923a3fb977f3910d4054191cdffc478134 (diff)
downloadCMake-e5ed57ec18e1cd1d460bd77391db15a5d4afdcc1.zip
CMake-e5ed57ec18e1cd1d460bd77391db15a5d4afdcc1.tar.gz
CMake-e5ed57ec18e1cd1d460bd77391db15a5d4afdcc1.tar.bz2
ENH: Registered global generators are now kept in a table in the cmake instance. Added support for documentation with a Generators section.
Diffstat (limited to 'Source/cmake.h')
-rw-r--r--Source/cmake.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmake.h b/Source/cmake.h
index f01c065..35c3c3f 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -235,14 +235,19 @@ class cmake
cmVariableWatch* GetVariableWatch() { return m_VariableWatch; }
void GetCommandDocumentation(std::vector<cmDocumentationEntry>&) const;
+ void GetGeneratorDocumentation(std::vector<cmDocumentationEntry>&);
///! Do all the checks before running configure
int DoPreConfigureChecks();
protected:
+ typedef cmGlobalGenerator* (*CreateGeneratorFunctionType)();
typedef std::map<cmStdString, cmCommand*> RegisteredCommandsMap;
+ typedef std::map<cmStdString, CreateGeneratorFunctionType> RegisteredGeneratorsMap;
RegisteredCommandsMap m_Commands;
+ RegisteredGeneratorsMap m_Generators;
void AddDefaultCommands();
+ void AddDefaultGenerators();
cmGlobalGenerator *m_GlobalGenerator;
cmCacheManager *m_CacheManager;