summaryrefslogtreecommitdiffstats
path: root/Source/cmState.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-04-11 10:16:54 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-04-13 18:27:36 (GMT)
commit62854e9966a3fe308cff4a76c89f6bf72f76551c (patch)
tree1750b80cdf1356680f143e6902c776bf4bf8376a /Source/cmState.h
parentdb8425be18439c899c08294dde117cc137c75d23 (diff)
downloadCMake-62854e9966a3fe308cff4a76c89f6bf72f76551c.zip
CMake-62854e9966a3fe308cff4a76c89f6bf72f76551c.tar.gz
CMake-62854e9966a3fe308cff4a76c89f6bf72f76551c.tar.bz2
cmState: Move try_compile state from cmake class.
Diffstat (limited to 'Source/cmState.h')
-rw-r--r--Source/cmState.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmState.h b/Source/cmState.h
index b1f1430..6df6182 100644
--- a/Source/cmState.h
+++ b/Source/cmState.h
@@ -76,10 +76,14 @@ public:
std::vector<std::string> GetEnabledLanguages() const;
void ClearEnabledLanguages();
+ bool GetIsInTryCompile() const;
+ void SetIsInTryCompile(bool b);
+
private:
std::map<cmProperty::ScopeType, cmPropertyDefinitionMap> PropertyDefinitions;
std::vector<std::string> EnabledLanguages;
cmake* CMakeInstance;
+ bool IsInTryCompile;
};
#endif