summaryrefslogtreecommitdiffstats
path: root/Source/cmState.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-10 12:34:26 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-10 13:36:58 (GMT)
commitb5212c68def0395642fc51dcfd499557eb9481d9 (patch)
treec5d390892ad8059fcda4318feb40ed65cae0942c /Source/cmState.h
parent95b0d761a75fd2da041eacc9ee22b89043ae301f (diff)
downloadCMake-b5212c68def0395642fc51dcfd499557eb9481d9.zip
CMake-b5212c68def0395642fc51dcfd499557eb9481d9.tar.gz
CMake-b5212c68def0395642fc51dcfd499557eb9481d9.tar.bz2
cmState: Add API for cache version.
Diffstat (limited to 'Source/cmState.h')
-rw-r--r--Source/cmState.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmState.h b/Source/cmState.h
index e71668f..4c32831 100644
--- a/Source/cmState.h
+++ b/Source/cmState.h
@@ -302,6 +302,9 @@ public:
void SetMSYSShell(bool mSYSShell);
bool UseMSYSShell() const;
+ unsigned int GetCacheMajorVersion() const;
+ unsigned int GetCacheMinorVersion() const;
+
private:
friend class cmake;
void AddCacheEntry(const std::string& key, const char* value,