diff options
Diffstat (limited to 'Source/cmMakefileGenerator.h')
-rw-r--r-- | Source/cmMakefileGenerator.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Source/cmMakefileGenerator.h b/Source/cmMakefileGenerator.h index afef32a..4ef8078 100644 --- a/Source/cmMakefileGenerator.h +++ b/Source/cmMakefileGenerator.h @@ -69,11 +69,19 @@ public: * Try to determine system infomation such as shared library * extension, pthreads, byte order etc. */ - virtual void ComputeSystemInfo() = 0; + virtual void EnableLanguage(const char*) = 0; virtual ~cmMakefileGenerator(){}; + + /** + * Set/Get and Clear the enabled languages. + */ + static void SetLanguageEnabled(const char*); + static bool GetLanguageEnabled(const char*); + static void ClearEnabledLanguages(); protected: static std::map<cmStdString, cmMakefileGenerator*> s_RegisteredGenerators; + static std::map<cmStdString, bool> s_LanguageEnabled; cmMakefile* m_Makefile; }; |