diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-04-04 22:07:04 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-04-06 15:58:55 (GMT) |
commit | 1fe7f24c2b62734d501427750586d8063149ea58 (patch) | |
tree | 8c4147687adf4fa7d83deb44d7bce82360639525 /Source/cmExtraEclipseCDT4Generator.cxx | |
parent | 08c642c6ae47fd075fe1060fc0e28d8a24cc3c00 (diff) | |
download | CMake-1fe7f24c2b62734d501427750586d8063149ea58.zip CMake-1fe7f24c2b62734d501427750586d8063149ea58.tar.gz CMake-1fe7f24c2b62734d501427750586d8063149ea58.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/cmExtraEclipseCDT4Generator.cxx')
-rw-r--r-- | Source/cmExtraEclipseCDT4Generator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmExtraEclipseCDT4Generator.cxx b/Source/cmExtraEclipseCDT4Generator.cxx index d64b0d7..810ec57 100644 --- a/Source/cmExtraEclipseCDT4Generator.cxx +++ b/Source/cmExtraEclipseCDT4Generator.cxx @@ -223,7 +223,7 @@ void cmExtraEclipseCDT4Generator::AddEnvVar(cmGeneratedFileStream& fout, mf->AddCacheDefinition(cacheEntryName, valueToUse.c_str(), cacheEntryName.c_str(), cmCacheManager::STRING, true); - mf->GetCacheManager()->SaveCache(mf->GetHomeOutputDirectory()); + mf->GetCMakeInstance()->SaveCache(mf->GetHomeOutputDirectory()); } else if (envVarValue==0 && cacheValue!=0) { @@ -244,7 +244,7 @@ void cmExtraEclipseCDT4Generator::AddEnvVar(cmGeneratedFileStream& fout, mf->AddCacheDefinition(cacheEntryName, valueToUse.c_str(), cacheEntryName.c_str(), cmCacheManager::STRING, true); - mf->GetCacheManager()->SaveCache(mf->GetHomeOutputDirectory()); + mf->GetCMakeInstance()->SaveCache(mf->GetHomeOutputDirectory()); } } |