summaryrefslogtreecommitdiffstats
path: root/Source/cmCacheManager.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2002-01-22 15:17:37 (GMT)
committerBrad King <brad.king@kitware.com>2002-01-22 15:17:37 (GMT)
commit8ed3ce29bf3b185ecc0f8b5132cac497f4150e0b (patch)
treec3aca1b0fbbc12d23eb248e20c90da27cd8a2ad7 /Source/cmCacheManager.cxx
parent0e0e4c1a1a0121c4afb6974b93b3c1aa701fc2e8 (diff)
downloadCMake-8ed3ce29bf3b185ecc0f8b5132cac497f4150e0b.zip
CMake-8ed3ce29bf3b185ecc0f8b5132cac497f4150e0b.tar.gz
CMake-8ed3ce29bf3b185ecc0f8b5132cac497f4150e0b.tar.bz2
ERR: Removed cmCacheManager::DefineCache method. It is no longer needed.
Diffstat (limited to 'Source/cmCacheManager.cxx')
-rw-r--r--Source/cmCacheManager.cxx16
1 files changed, 0 insertions, 16 deletions
diff --git a/Source/cmCacheManager.cxx b/Source/cmCacheManager.cxx
index 3ab8904..ba4f76f 100644
--- a/Source/cmCacheManager.cxx
+++ b/Source/cmCacheManager.cxx
@@ -256,22 +256,6 @@ bool cmCacheManager::LoadCache(const char* path,
return true;
}
-void cmCacheManager::DefineCache(cmMakefile *mf)
-{
- if (!mf)
- {
- return;
- }
-
- // add definition to the makefile
- for( std::map<cmStdString, CacheEntry>::const_iterator i = m_Cache.begin();
- i != m_Cache.end(); ++i)
- {
- const CacheEntry& ce = (*i).second;
- mf->AddDefinition((*i).first.c_str(), ce.m_Value.c_str());
- }
-}
-
bool cmCacheManager::SaveCache(cmMakefile* mf)
{
return this->SaveCache(mf->GetHomeOutputDirectory());