cmMakefile: Rename method to something more appropriate.
Allow the name to be used for something more-suitable.
This commit is contained in:
parent
2dd5d42f52
commit
8ab1cce704
|
@ -4362,7 +4362,7 @@ void cmMakefile::AddCMakeDependFilesFromUser()
|
|||
}
|
||||
}
|
||||
|
||||
std::string cmMakefile::GetListFileStack() const
|
||||
std::string cmMakefile::FormatListFileStack() const
|
||||
{
|
||||
std::ostringstream tmp;
|
||||
size_t depth = this->ListFileStack.size();
|
||||
|
|
|
@ -575,7 +575,7 @@ public:
|
|||
{ this->ListFiles.push_back(file);}
|
||||
void AddCMakeDependFilesFromUser();
|
||||
|
||||
std::string GetListFileStack() const;
|
||||
std::string FormatListFileStack() const;
|
||||
|
||||
/**
|
||||
* Get the current context backtrace.
|
||||
|
|
|
@ -375,7 +375,7 @@ void cmTryRunCommand::DoNotRunExecutable(const std::string& runArgs,
|
|||
comment += "Run arguments : ";
|
||||
comment += runArgs;
|
||||
comment += "\n";
|
||||
comment += " Called from: " + this->Makefile->GetListFileStack();
|
||||
comment += " Called from: " + this->Makefile->FormatListFileStack();
|
||||
cmsys::SystemTools::ReplaceString(comment, "\n", "\n# ");
|
||||
file << comment << "\n\n";
|
||||
|
||||
|
|
|
@ -130,7 +130,7 @@ static std::string cmakemainGetStack(void *clientdata)
|
|||
cmMakefile* mf=cmakemainGetMakefile(clientdata);
|
||||
if (mf)
|
||||
{
|
||||
msg = mf->GetListFileStack();
|
||||
msg = mf->FormatListFileStack();
|
||||
if (!msg.empty())
|
||||
{
|
||||
msg = "\n Called from: " + msg;
|
||||
|
|
Loading…
Reference in New Issue