summaryrefslogtreecommitdiff
path: root/Source/cmake.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-10-12 13:51:15 -0400
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-10-12 13:51:15 -0400
commita51dfefe796c1c7108d92e79dc77607c8307ef4b (patch)
tree18f9de11905f9a57872b05160b2e02d8162228a8 /Source/cmake.h
parent2dd035c9a9fc712078c333ec282a741e6627624b (diff)
downloadcmake-a51dfefe796c1c7108d92e79dc77607c8307ef4b.tar.gz
ENH: Optimize performance by caching stat results
Diffstat (limited to 'Source/cmake.h')
-rw-r--r--Source/cmake.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmake.h b/Source/cmake.h
index 730d297b2c..47a62b4631 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -48,6 +48,7 @@ class cmCacheManager;
class cmMakefile;
class cmCommand;
class cmVariableWatch;
+class cmFileTimeComparison;
class cmake
{
@@ -262,6 +263,11 @@ class cmake
*/
int AddCMakePaths(const char *arg0);
+ /**
+ * Get the file comparison class
+ */
+ cmFileTimeComparison* GetFileComparison() { return m_FileComparison; }
+
protected:
typedef cmGlobalGenerator* (*CreateGeneratorFunctionType)();
typedef std::map<cmStdString, CreateGeneratorFunctionType> RegisteredGeneratorsMap;
@@ -313,6 +319,7 @@ private:
std::string m_CheckBuildSystem;
bool m_ClearBuildSystem;
bool m_DebugTryCompile;
+ cmFileTimeComparison* m_FileComparison;
void UpdateConversionPathTable();
};