summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-07-03 02:25:43 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-07-03 02:25:43 (GMT)
commit69ca8776a8a63fcc4d14f59afc1ab8980bb70e9e (patch)
treef304319e636d26ad478e83e43346f873a69fd26d /Source/cmake.h
parent5a25895c1cd62a638b270b8d9aaa15a5d500647b (diff)
downloadCMake-69ca8776a8a63fcc4d14f59afc1ab8980bb70e9e.zip
CMake-69ca8776a8a63fcc4d14f59afc1ab8980bb70e9e.tar.gz
CMake-69ca8776a8a63fcc4d14f59afc1ab8980bb70e9e.tar.bz2
ENH: Start adding the code that will truncate output logs
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.