summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmake.h')
-rw-r--r--Source/cmake.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmake.h b/Source/cmake.h
index 3f92de4..4e61c5f 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -283,6 +283,10 @@ protected:
bool CacheVersionMatches();
///! read in a cmake list file to initialize the cache
void ReadListFile(const char *path);
+
+ ///! Check if CMAKE_CACHEFILE_DIR is set. If it is not, delete the log file.
+ /// If it is set, truncate it to 50kb
+ void TruncateOutputLog(const char* fname);
/**
* Method called to check build system integrity at build time.