mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-29 18:51:05 -05:00
cmMakefile: Create intermediate variables for snapshot frames.
This commit is contained in:
@@ -280,7 +280,8 @@ cmListFileBacktrace cmMakefile::GetBacktrace() const
|
|||||||
i = this->ContextStack.rbegin();
|
i = this->ContextStack.rbegin();
|
||||||
i != this->ContextStack.rend(); ++i)
|
i != this->ContextStack.rend(); ++i)
|
||||||
{
|
{
|
||||||
backtrace.Append(*(*i));
|
cmListFileContext frame = *(*i);
|
||||||
|
backtrace.Append(frame);
|
||||||
}
|
}
|
||||||
return backtrace;
|
return backtrace;
|
||||||
}
|
}
|
||||||
@@ -295,7 +296,8 @@ cmMakefile::GetBacktrace(cmListFileContext const& lfc) const
|
|||||||
i = this->ContextStack.rbegin();
|
i = this->ContextStack.rbegin();
|
||||||
i != this->ContextStack.rend(); ++i)
|
i != this->ContextStack.rend(); ++i)
|
||||||
{
|
{
|
||||||
backtrace.Append(*(*i));
|
cmListFileContext frame = *(*i);
|
||||||
|
backtrace.Append(frame);
|
||||||
}
|
}
|
||||||
return backtrace;
|
return backtrace;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user