1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-17 15:32:10 +08:00

updates to gui to delete cache

This commit is contained in:
Ken Martin
2004-05-20 15:08:18 -04:00
parent 6665adc3ff
commit d7c6f51d00
6 changed files with 111 additions and 67 deletions

View File

@@ -520,6 +520,14 @@ bool cmCacheManager::SaveCache(const char* path)
return true;
}
bool cmCacheManager::DeleteCache(const char* path)
{
std::string cacheFile = path;
cacheFile += "/CMakeCache.txt";
cmSystemTools::RemoveFile(cacheFile.c_str());
return true;
}
void cmCacheManager::OutputHelpString(std::ofstream& fout,
const std::string& helpString)
{