diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-04-11 12:16:39 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-04-13 18:19:58 (GMT) |
commit | 74de9a734c92288fb3e602be0d1c967b33b67443 (patch) | |
tree | 76c1c7478d0741e8574a5065b3afd912b111c150 /Source/cmState.h | |
parent | b159bff732d4e34a683edd1740604428049d1819 (diff) | |
download | CMake-74de9a734c92288fb3e602be0d1c967b33b67443.zip CMake-74de9a734c92288fb3e602be0d1c967b33b67443.tar.gz CMake-74de9a734c92288fb3e602be0d1c967b33b67443.tar.bz2 |
cmGlobalGenerator: Delegate storage of enabled languages to cmState.
Diffstat (limited to 'Source/cmState.h')
-rw-r--r-- | Source/cmState.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmState.h b/Source/cmState.h index 310707d..b1f1430 100644 --- a/Source/cmState.h +++ b/Source/cmState.h @@ -71,10 +71,14 @@ public: bool IsPropertyDefined(const std::string& name, cmProperty::ScopeType scope); bool IsPropertyChained(const std::string& name, cmProperty::ScopeType scope); + void SetLanguageEnabled(std::string const& l); + bool GetLanguageEnabled(std::string const& l) const; + std::vector<std::string> GetEnabledLanguages() const; + void ClearEnabledLanguages(); private: std::map<cmProperty::ScopeType, cmPropertyDefinitionMap> PropertyDefinitions; - + std::vector<std::string> EnabledLanguages; cmake* CMakeInstance; }; |