cmMakefile: Out-of-line the cmMakefileCall.
This commit is contained in:
parent
db74ce5820
commit
00bfa04748
@ -5494,3 +5494,15 @@ cmMakefile::MacroPushPop::~MacroPushPop()
|
|||||||
{
|
{
|
||||||
this->Makefile->PopMacroScope(this->ReportError);
|
this->Makefile->PopMacroScope(this->ReportError);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cmMakefileCall::cmMakefileCall(cmMakefile* mf, const cmListFileContext& lfc,
|
||||||
|
cmExecutionStatus& status): Makefile(mf)
|
||||||
|
{
|
||||||
|
cmMakefile::CallStackEntry entry = {&lfc, &status};
|
||||||
|
this->Makefile->CallStack.push_back(entry);
|
||||||
|
}
|
||||||
|
|
||||||
|
cmMakefileCall::~cmMakefileCall()
|
||||||
|
{
|
||||||
|
this->Makefile->CallStack.pop_back();
|
||||||
|
}
|
||||||
|
@ -1084,15 +1084,8 @@ class cmMakefileCall
|
|||||||
public:
|
public:
|
||||||
cmMakefileCall(cmMakefile* mf,
|
cmMakefileCall(cmMakefile* mf,
|
||||||
cmListFileContext const& lfc,
|
cmListFileContext const& lfc,
|
||||||
cmExecutionStatus& status): Makefile(mf)
|
cmExecutionStatus& status);
|
||||||
{
|
~cmMakefileCall();
|
||||||
cmMakefile::CallStackEntry entry = {&lfc, &status};
|
|
||||||
this->Makefile->CallStack.push_back(entry);
|
|
||||||
}
|
|
||||||
~cmMakefileCall()
|
|
||||||
{
|
|
||||||
this->Makefile->CallStack.pop_back();
|
|
||||||
}
|
|
||||||
private:
|
private:
|
||||||
cmMakefile* Makefile;
|
cmMakefile* Makefile;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user