cmMakefile: Delegate ListFile reading to internal method.
This commit is contained in:
parent
846608f267
commit
0d9555779d
|
@ -541,6 +541,15 @@ bool cmMakefile::ReadListFile(const char* filename_in,
|
|||
const char *external_in,
|
||||
bool noPolicyScope,
|
||||
bool requireProjectCommand)
|
||||
{
|
||||
return this->ReadListFileInternal(filename_in, external_in,
|
||||
noPolicyScope, requireProjectCommand);
|
||||
}
|
||||
|
||||
bool cmMakefile::ReadListFileInternal(const char* filename_in,
|
||||
const char* external_in,
|
||||
bool noPolicyScope,
|
||||
bool requireProjectCommand)
|
||||
{
|
||||
std::string currentParentFile
|
||||
= this->GetSafeDefinition("CMAKE_PARENT_LIST_FILE");
|
||||
|
|
|
@ -991,6 +991,12 @@ protected:
|
|||
private:
|
||||
void Initialize();
|
||||
|
||||
|
||||
bool ReadListFileInternal(const char* filename_in,
|
||||
const char* external_in,
|
||||
bool noPolicyScope,
|
||||
bool requireProjectCommand);
|
||||
|
||||
bool ParseDefineFlag(std::string const& definition, bool remove);
|
||||
|
||||
bool EnforceUniqueDir(const std::string& srcPath,
|
||||
|
|
Loading…
Reference in New Issue