summaryrefslogtreecommitdiffstats
path: root/Source/cmState.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-04-11 12:16:39 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-04-13 18:19:58 (GMT)
commit74de9a734c92288fb3e602be0d1c967b33b67443 (patch)
tree76c1c7478d0741e8574a5065b3afd912b111c150 /Source/cmState.h
parentb159bff732d4e34a683edd1740604428049d1819 (diff)
downloadCMake-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.h6
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;
};