diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-04-04 22:07:04 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-04-07 21:25:39 (GMT) |
commit | 14973054a2f3954111789cda5e54c2e2e2175521 (patch) | |
tree | 1cd2c4b592a726aba70682b3a495d49c418313b2 /Source/cmLoadCacheCommand.cxx | |
parent | 1f2c12ebd196f3d23aa40d85c965654dbc36d0ad (diff) | |
download | CMake-14973054a2f3954111789cda5e54c2e2e2175521.zip CMake-14973054a2f3954111789cda5e54c2e2e2175521.tar.gz CMake-14973054a2f3954111789cda5e54c2e2e2175521.tar.bz2 |
Add API for cache loading, deleting and saving to the cmake class.
Migrate existing users of the CacheManager API to use the new
API. The CacheManager will be going away soon.
Diffstat (limited to 'Source/cmLoadCacheCommand.cxx')
-rw-r--r-- | Source/cmLoadCacheCommand.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmLoadCacheCommand.cxx b/Source/cmLoadCacheCommand.cxx index 93aec32..e2ae901 100644 --- a/Source/cmLoadCacheCommand.cxx +++ b/Source/cmLoadCacheCommand.cxx @@ -81,8 +81,8 @@ bool cmLoadCacheCommand { break; } - this->Makefile->GetCacheManager()->LoadCache(args[i], false, - excludes, includes); + this->Makefile->GetCMakeInstance()->LoadCache(args[i], false, + excludes, includes); } @@ -173,7 +173,7 @@ void cmLoadCacheCommand::CheckLine(const char* line) std::string var; std::string value; cmCacheManager::CacheEntryType type = cmCacheManager::UNINITIALIZED; - if(cmCacheManager::ParseEntry(line, var, value, type)) + if(cmake::ParseCacheEntry(line, var, value, type)) { // Found a real entry. See if this one was requested. if(this->VariablesToRead.find(var) != this->VariablesToRead.end()) |