Remove some needless GetMakefile() calls.
This commit is contained in:
parent
a367416cec
commit
223d0efe55
@ -101,7 +101,7 @@ cmCustomCommandGenerator
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
cmOutputConverter converter(this->LG->GetMakefile()->GetStateSnapshot());
|
cmOutputConverter converter(this->LG->GetStateSnapshot());
|
||||||
cmd += converter.EscapeForShell(arg, this->MakeVars);
|
cmd += converter.EscapeForShell(arg, this->MakeVars);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -139,7 +139,7 @@ void cmGeneratorExpressionEvaluationFile::Generate(cmLocalGenerator *lg)
|
|||||||
{
|
{
|
||||||
std::ostringstream e;
|
std::ostringstream e;
|
||||||
e << "Evaluation file \"" << this->Input << "\" cannot be read.";
|
e << "Evaluation file \"" << this->Input << "\" cannot be read.";
|
||||||
lg->GetMakefile()->IssueMessage(cmake::FATAL_ERROR, e.str());
|
lg->IssueMessage(cmake::FATAL_ERROR, e.str());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -495,7 +495,7 @@ cmGlobalUnixMakefileGenerator3
|
|||||||
// The directory-level rule should depend on the directory-level
|
// The directory-level rule should depend on the directory-level
|
||||||
// rules of the subdirectories.
|
// rules of the subdirectories.
|
||||||
std::vector<cmState::Snapshot> children
|
std::vector<cmState::Snapshot> children
|
||||||
= lg->GetMakefile()->GetStateSnapshot().GetChildren();
|
= lg->GetStateSnapshot().GetChildren();
|
||||||
for(std::vector<cmState::Snapshot>::const_iterator
|
for(std::vector<cmState::Snapshot>::const_iterator
|
||||||
ci = children.begin(); ci != children.end(); ++ci)
|
ci = children.begin(); ci != children.end(); ++ci)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user