cache loaded into makefile

This commit is contained in:
Ken Martin 2001-05-02 11:53:39 -04:00
parent 6d5508e64b
commit d649156aa1
2 changed files with 2 additions and 0 deletions

View File

@ -116,6 +116,7 @@ int main(int ac, char** av)
// Read and parse the input makefile
mf.MakeStartDirectoriesCurrent();
cmCacheManager::GetInstance()->LoadCache(&mf);
cmCacheManager::GetInstance()->DefineCache(&mf);
if(!mf.ReadListFile(av[1]))
{
Usage(av[0]);

View File

@ -104,6 +104,7 @@ int main(int ac, char** av)
makefile.SetMakefileGenerator(pg);
makefile.MakeStartDirectoriesCurrent();
cmCacheManager::GetInstance()->LoadCache(&makefile);
cmCacheManager::GetInstance()->DefineCache(&makefile);
makefile.ReadListFile(av[1]);
makefile.GenerateMakefile();
cmCacheManager::GetInstance()->SaveCache(&makefile);