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.
This commit is contained in:
Stephen Kelly
2015-04-05 00:07:04 +02:00
parent 1f2c12ebd1
commit 14973054a2
9 changed files with 61 additions and 21 deletions
+1 -1
View File
@@ -639,7 +639,7 @@ int cmCursesMainForm::Configure(int noconfigure)
// always save the current gui values to disk
this->FillCacheManagerFromUI();
this->CMakeInstance->GetCacheManager()->SaveCache(
this->CMakeInstance->SaveCache(
this->CMakeInstance->GetHomeOutputDirectory());
this->LoadCache(0);