mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-12 23:43:59 +03:00
cmMakefile: Out-of-line the cmMakefileCall.
This commit is contained in:
1 parent
db74ce5820
commit
00bfa04748
2 files changed
+14
-9
No files matched your search
@@ -5494,3 +5494,15 @@ cmMakefile::MacroPushPop::~MacroPushPop()
|
||||
{
|
||||
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();
|
||||
}
|
||||
+2
-9
@@ -1084,15 +1084,8 @@ class cmMakefileCall
|
||||
public:
|
||||
cmMakefileCall(cmMakefile* mf,
|
||||
cmListFileContext const& lfc,
|
||||
cmExecutionStatus& status): Makefile(mf)
|
||||
{
|
||||
cmMakefile::CallStackEntry entry = {&lfc, &status};
|
||||
this->Makefile->CallStack.push_back(entry);
|
||||
}
|
||||
~cmMakefileCall()
|
||||
{
|
||||
this->Makefile->CallStack.pop_back();
|
||||
}
|
||||
cmExecutionStatus& status);
|
||||
~cmMakefileCall();
|
||||
private:
|
||||
cmMakefile* Makefile;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user