summaryrefslogtreecommitdiff
path: root/Source/cmLoadCacheCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2002-01-22 10:17:37 -0500
committerBrad King <brad.king@kitware.com>2002-01-22 10:17:37 -0500
commit8ed3ce29bf3b185ecc0f8b5132cac497f4150e0b (patch)
treec3aca1b0fbbc12d23eb248e20c90da27cd8a2ad7 /Source/cmLoadCacheCommand.cxx
parent0e0e4c1a1a0121c4afb6974b93b3c1aa701fc2e8 (diff)
downloadcmake-8ed3ce29bf3b185ecc0f8b5132cac497f4150e0b.tar.gz
ERR: Removed cmCacheManager::DefineCache method. It is no longer needed.
Diffstat (limited to 'Source/cmLoadCacheCommand.cxx')
-rw-r--r--Source/cmLoadCacheCommand.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmLoadCacheCommand.cxx b/Source/cmLoadCacheCommand.cxx
index 2076435f4f..9ea56e6ab4 100644
--- a/Source/cmLoadCacheCommand.cxx
+++ b/Source/cmLoadCacheCommand.cxx
@@ -73,6 +73,8 @@ bool cmLoadCacheCommand::InitialPass(std::vector<std::string> const& argsIn)
}
}
+ // Loop over each build directory listed in the arguments. Each
+ // directory has a cache file.
for(i=0; i<args.size(); i++)
{
if ((args[i] == "EXCLUDE") || (args[i] == "INCLUDE_INTERNALS"))
@@ -82,7 +84,6 @@ bool cmLoadCacheCommand::InitialPass(std::vector<std::string> const& argsIn)
m_Makefile->ExpandVariablesInString(args[i]);
cmCacheManager::GetInstance()->LoadCache(args[i].c_str(), false,
excludes, includes);
- cmCacheManager::GetInstance()->DefineCache(m_Makefile);
}