cmMakefile: Populate Home directories on initialize.
This commit is contained in:
parent
8878bea7b6
commit
fcf246acd1
@ -250,12 +250,6 @@ void cmLocalGenerator::SetGlobalGenerator(cmGlobalGenerator *gg)
|
|||||||
this->GlobalGenerator = gg;
|
this->GlobalGenerator = gg;
|
||||||
this->Makefile = new cmMakefile;
|
this->Makefile = new cmMakefile;
|
||||||
this->Makefile->SetLocalGenerator(this);
|
this->Makefile->SetLocalGenerator(this);
|
||||||
|
|
||||||
// setup the home directories
|
|
||||||
this->Makefile->SetHomeDirectory(
|
|
||||||
gg->GetCMakeInstance()->GetHomeDirectory());
|
|
||||||
this->Makefile->SetHomeOutputDirectory(
|
|
||||||
gg->GetCMakeInstance()->GetHomeOutputDirectory());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void cmLocalGenerator::ConfigureFinalPass()
|
void cmLocalGenerator::ConfigureFinalPass()
|
||||||
|
@ -696,6 +696,9 @@ void cmMakefile::SetLocalGenerator(cmLocalGenerator* lg)
|
|||||||
this->Properties.SetCMakeInstance(this->GetCMakeInstance());
|
this->Properties.SetCMakeInstance(this->GetCMakeInstance());
|
||||||
this->WarnUnused = this->GetCMakeInstance()->GetWarnUnused();
|
this->WarnUnused = this->GetCMakeInstance()->GetWarnUnused();
|
||||||
this->CheckSystemVars = this->GetCMakeInstance()->GetCheckSystemVars();
|
this->CheckSystemVars = this->GetCMakeInstance()->GetCheckSystemVars();
|
||||||
|
this->SetHomeDirectory(this->GetCMakeInstance()->GetHomeDirectory());
|
||||||
|
this->SetHomeOutputDirectory(
|
||||||
|
this->GetCMakeInstance()->GetHomeOutputDirectory());
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace
|
namespace
|
||||||
|
Loading…
x
Reference in New Issue
Block a user