cmLocalGenerator: Simplify condition.
This commit is contained in:
parent
ae026f5458
commit
223f4a662f
@ -199,18 +199,15 @@ void cmLocalGenerator::GenerateTestFiles()
|
|||||||
(*gi)->Compute(this);
|
(*gi)->Compute(this);
|
||||||
(*gi)->Generate(fout, config, configurationTypes);
|
(*gi)->Generate(fout, config, configurationTypes);
|
||||||
}
|
}
|
||||||
if (!this->Children.empty())
|
size_t i;
|
||||||
|
for(i = 0; i < this->Children.size(); ++i)
|
||||||
{
|
{
|
||||||
size_t i;
|
// TODO: Use add_subdirectory instead?
|
||||||
for(i = 0; i < this->Children.size(); ++i)
|
fout << "subdirs(";
|
||||||
{
|
std::string outP =
|
||||||
// TODO: Use add_subdirectory instead?
|
this->Children[i]->GetMakefile()->GetCurrentBinaryDirectory();
|
||||||
fout << "subdirs(";
|
fout << this->Convert(outP,START_OUTPUT);
|
||||||
std::string outP =
|
fout << ")" << std::endl;
|
||||||
this->Children[i]->GetMakefile()->GetCurrentBinaryDirectory();
|
|
||||||
fout << this->Convert(outP,START_OUTPUT);
|
|
||||||
fout << ")" << std::endl;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user