diff options
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index ef9a726..6732eec 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -1720,23 +1720,6 @@ void cmMakefile::AddDefinition(const char* name, bool value) #endif } - -void cmMakefile::AddCacheDefinition(const char* name, - bool value, - const char* doc) -{ - bool val = value; - cmCacheManager::CacheIterator it = - this->GetCacheManager()->GetCacheIterator(name); - if(!it.IsAtEnd() && (it.GetType() == cmCacheManager::UNINITIALIZED) && - it.Initialized()) - { - val = it.GetValueAsBool(); - } - this->GetCacheManager()->AddCacheEntry(name, val, doc); - this->AddDefinition(name, val); -} - void cmMakefile::RemoveDefinition(const char* name) { this->Internal->VarStack.top().Set(name, 0); |