summaryrefslogtreecommitdiffstats
path: root/Source/cmCacheManager.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-04-23 20:40:29 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-04-23 20:40:29 (GMT)
commit90e56122989f4021e9fbabd3299ea783b80a2c61 (patch)
tree4180b9c4c858bee3bdea327b301cea187adbf38c /Source/cmCacheManager.cxx
parent619dd8c4791850f3fe4d564d32f8285cb027b4fc (diff)
downloadCMake-90e56122989f4021e9fbabd3299ea783b80a2c61.zip
CMake-90e56122989f4021e9fbabd3299ea783b80a2c61.tar.gz
CMake-90e56122989f4021e9fbabd3299ea783b80a2c61.tar.bz2
ENH: new GUI editor for cmake cache file
Diffstat (limited to 'Source/cmCacheManager.cxx')
-rw-r--r--Source/cmCacheManager.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmCacheManager.cxx b/Source/cmCacheManager.cxx
index 62762e2..90cfd3d 100644
--- a/Source/cmCacheManager.cxx
+++ b/Source/cmCacheManager.cxx
@@ -136,6 +136,11 @@ bool cmCacheManager::SaveCache(cmMakefile* mf)
return true;
}
+void cmCacheManager::RemoveCacheEntry(const char* key)
+{
+ m_Cache.erase(key);
+}
+
void cmCacheManager::AddCacheEntry(const char* key,
const char* value,
CacheEntryType type)