summaryrefslogtreecommitdiffstats
path: root/Source/cmCacheManager.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-03-09 20:47:18 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-03-09 20:47:18 (GMT)
commit8cdb87eaa75803d379f3645fa03df046e87e9497 (patch)
tree70a10b535c3e101947dfa619aa6b4e8215594993 /Source/cmCacheManager.h
parent15b5869b46d03dbd785c00ce71cee38225a3420a (diff)
downloadCMake-8cdb87eaa75803d379f3645fa03df046e87e9497.zip
CMake-8cdb87eaa75803d379f3645fa03df046e87e9497.tar.gz
CMake-8cdb87eaa75803d379f3645fa03df046e87e9497.tar.bz2
ENH: if CMakeCache.txt has been removed, then automatically remove CMakefiles/*.cmake
Diffstat (limited to 'Source/cmCacheManager.h')
-rw-r--r--Source/cmCacheManager.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmCacheManager.h b/Source/cmCacheManager.h
index 451dcea..a6773b5 100644
--- a/Source/cmCacheManager.h
+++ b/Source/cmCacheManager.h
@@ -150,7 +150,9 @@ protected:
///! Get a cache entry object for a key
CacheEntry *GetCacheEntry(const char *key);
-
+ ///! Clean out the CMakeFiles directory if no CMakeCache.txt
+ void CleanCMakeFiles(const char* path);
+
private:
typedef std::map<cmStdString, CacheEntry> CacheEntryMap;
static void OutputHelpString(std::ofstream& fout,