summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-12-04 15:57:22 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-12-04 15:57:22 (GMT)
commit1e8914ada8834a9ed6e3a10a8575c14947df157e (patch)
tree3d84c1cdff204fb3025f0d1af5762d5c02d6872c /Source/cmake.cxx
parent3a211819410ba0433cf8b713e894683b2f612345 (diff)
downloadCMake-1e8914ada8834a9ed6e3a10a8575c14947df157e.zip
CMake-1e8914ada8834a9ed6e3a10a8575c14947df157e.tar.gz
CMake-1e8914ada8834a9ed6e3a10a8575c14947df157e.tar.bz2
BUG: fix get make command problems.
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 3c705b1..b6b2855 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -939,6 +939,15 @@ const char *cmake::GetReleaseVersion()
return cmMakefile::GetReleaseVersion();
}
+void cmake::AddCacheEntry(const char* key, const char* value,
+ const char* helpString,
+ int type)
+{
+ m_CacheManager->AddCacheEntry(key, value,
+ helpString,
+ cmCacheManager::CacheEntryType(type));
+}
+
const char* cmake::GetCacheDefinition(const char* name) const
{
return m_CacheManager->GetCacheValue(name);