mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-03 13:18:37 -06:00
cmMakefile: Store unconfigured cmMakefiles.
Not cmLocalGenerators.
This commit is contained in:
@@ -1598,13 +1598,13 @@ void cmMakefile::Configure()
|
|||||||
this->ProcessBuildsystemFile(currentStart.c_str());
|
this->ProcessBuildsystemFile(currentStart.c_str());
|
||||||
|
|
||||||
// at the end handle any old style subdirs
|
// at the end handle any old style subdirs
|
||||||
std::vector<cmLocalGenerator*> subdirs = this->UnConfiguredDirectories;
|
std::vector<cmMakefile*> subdirs = this->UnConfiguredDirectories;
|
||||||
|
|
||||||
// for each subdir recurse
|
// for each subdir recurse
|
||||||
std::vector<cmLocalGenerator*>::iterator sdi = subdirs.begin();
|
std::vector<cmMakefile*>::iterator sdi = subdirs.begin();
|
||||||
for (; sdi != subdirs.end(); ++sdi)
|
for (; sdi != subdirs.end(); ++sdi)
|
||||||
{
|
{
|
||||||
this->ConfigureSubDirectory((*sdi)->GetMakefile());
|
this->ConfigureSubDirectory(*sdi);
|
||||||
}
|
}
|
||||||
|
|
||||||
this->AddCMakeDependFilesFromUser();
|
this->AddCMakeDependFilesFromUser();
|
||||||
@@ -1699,7 +1699,7 @@ void cmMakefile::AddSubDirectory(const std::string& srcPath,
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
this->UnConfiguredDirectories.push_back(lg2);
|
this->UnConfiguredDirectories.push_back(lg2->GetMakefile());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -922,7 +922,7 @@ private:
|
|||||||
mutable cmsys::RegularExpression cmAtVarRegex;
|
mutable cmsys::RegularExpression cmAtVarRegex;
|
||||||
mutable cmsys::RegularExpression cmNamedCurly;
|
mutable cmsys::RegularExpression cmNamedCurly;
|
||||||
|
|
||||||
std::vector<cmLocalGenerator*> UnConfiguredDirectories;
|
std::vector<cmMakefile*> UnConfiguredDirectories;
|
||||||
|
|
||||||
cmPropertyMap Properties;
|
cmPropertyMap Properties;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user