diff options
-rw-r--r-- | Source/cmLocalGenerator.cxx | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index edb644d..db464d6 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -199,18 +199,15 @@ void cmLocalGenerator::GenerateTestFiles() (*gi)->Compute(this); (*gi)->Generate(fout, config, configurationTypes); } - if (!this->Children.empty()) - { - size_t i; - for(i = 0; i < this->Children.size(); ++i) - { - // TODO: Use add_subdirectory instead? - fout << "subdirs("; - std::string outP = - this->Children[i]->GetMakefile()->GetCurrentBinaryDirectory(); - fout << this->Convert(outP,START_OUTPUT); - fout << ")" << std::endl; - } + size_t i; + for(i = 0; i < this->Children.size(); ++i) + { + // TODO: Use add_subdirectory instead? + fout << "subdirs("; + std::string outP = + this->Children[i]->GetMakefile()->GetCurrentBinaryDirectory(); + fout << this->Convert(outP,START_OUTPUT); + fout << ")" << std::endl; } } |