summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-11-13 20:20:20 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-11-13 20:20:20 (GMT)
commit2905d39689a23c580b3356f668ad02397424f09e (patch)
tree9f73a87cb9c3030ea9871bc56e1a02a29cf04b4c /Source/cmake.h
parent46ede79d587f86b9ed8126f4d454b36b8fd9b151 (diff)
downloadCMake-2905d39689a23c580b3356f668ad02397424f09e.zip
CMake-2905d39689a23c580b3356f668ad02397424f09e.tar.gz
CMake-2905d39689a23c580b3356f668ad02397424f09e.tar.bz2
ENH: check to make sure cmake matches the cmake used to generate the cache
Diffstat (limited to 'Source/cmake.h')
-rw-r--r--Source/cmake.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmake.h b/Source/cmake.h
index 749e448..cf0d7bf 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -236,6 +236,8 @@ protected:
std::string m_cmStartDirectory;
std::string m_StartOutputDirectory;
+ ///! return true if the same cmake was used to make the cache.
+ bool CacheVersionMatches();
///! read in a cmake list file to initialize the cache
void ReadListFile(const char *path);