cache loaded into makefile
This commit is contained in:
parent
6d5508e64b
commit
d649156aa1
|
@ -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]);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue