mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-09 15:20:56 -06:00
cmMakefile: Clarify name of internal list file run method
This commit is contained in:
@@ -622,7 +622,7 @@ bool cmMakefile::ReadDependentFile(const std::string& filename,
|
||||
return false;
|
||||
}
|
||||
|
||||
this->ReadListFile(listFile, filenametoread);
|
||||
this->RunListFile(listFile, filenametoread);
|
||||
if (cmSystemTools::GetFatalErrorOccured()) {
|
||||
incScope.Quiet();
|
||||
}
|
||||
@@ -676,7 +676,7 @@ bool cmMakefile::ReadListFile(const std::string& filename)
|
||||
return false;
|
||||
}
|
||||
|
||||
this->ReadListFile(listFile, filenametoread);
|
||||
this->RunListFile(listFile, filenametoread);
|
||||
if (cmSystemTools::GetFatalErrorOccured()) {
|
||||
scope.Quiet();
|
||||
}
|
||||
@@ -697,15 +697,15 @@ bool cmMakefile::ReadListFileAsString(const std::string& content,
|
||||
return false;
|
||||
}
|
||||
|
||||
this->ReadListFile(listFile, filenametoread);
|
||||
this->RunListFile(listFile, filenametoread);
|
||||
if (cmSystemTools::GetFatalErrorOccured()) {
|
||||
scope.Quiet();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
void cmMakefile::ReadListFile(cmListFile const& listFile,
|
||||
std::string const& filenametoread)
|
||||
void cmMakefile::RunListFile(cmListFile const& listFile,
|
||||
std::string const& filenametoread)
|
||||
{
|
||||
// add this list file to the list of dependencies
|
||||
this->ListFiles.push_back(filenametoread);
|
||||
@@ -1678,7 +1678,7 @@ void cmMakefile::Configure()
|
||||
}
|
||||
}
|
||||
|
||||
this->ReadListFile(listFile, currentStart);
|
||||
this->RunListFile(listFile, currentStart);
|
||||
if (cmSystemTools::GetFatalErrorOccured()) {
|
||||
scope.Quiet();
|
||||
}
|
||||
|
||||
@@ -1028,8 +1028,8 @@ private:
|
||||
|
||||
void DoGenerate(cmLocalGenerator& lg);
|
||||
|
||||
void ReadListFile(cmListFile const& listFile,
|
||||
const std::string& filenametoread);
|
||||
void RunListFile(cmListFile const& listFile,
|
||||
const std::string& filenametoread);
|
||||
|
||||
bool ParseDefineFlag(std::string const& definition, bool remove);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user