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:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user