diff options
author | Ken Martin <ken.martin@kitware.com> | 2008-01-19 20:09:36 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2008-01-19 20:09:36 (GMT) |
commit | c3ab83150cf61dc3cd28f6e58ba0ed890056279b (patch) | |
tree | 40465fc84b0007e8598979db9fe16e01ae90d30b /Source/cmLocalGenerator.cxx | |
parent | abf2054765ca4b72407f776a9731a3f58fd558dd (diff) | |
download | CMake-c3ab83150cf61dc3cd28f6e58ba0ed890056279b.zip CMake-c3ab83150cf61dc3cd28f6e58ba0ed890056279b.tar.gz CMake-c3ab83150cf61dc3cd28f6e58ba0ed890056279b.tar.bz2 |
ENH: improve backwards compatibility
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 9c7c4b6..c2b14b2 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -275,11 +275,7 @@ void cmLocalGenerator::GenerateTestFiles() size_t i; for(i = 0; i < this->Children.size(); ++i) { - fout << "ADD_SUBDIRECTORY("; - std::string srcP = - this->Children[i]->GetMakefile()->GetStartDirectory(); - fout << this->Convert(srcP.c_str(),START); - fout << " "; + fout << "SUBDIRS("; std::string outP = this->Children[i]->GetMakefile()->GetStartOutputDirectory(); fout << this->Convert(outP.c_str(),START_OUTPUT); |