[cmake-commits] martink committed cmLocalGenerator.cxx 1.256 1.257

cmake-commits at cmake.org cmake-commits at cmake.org
Sat Jan 19 15:09:38 EST 2008


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv4361

Modified Files:
	cmLocalGenerator.cxx 
Log Message:
ENH: improve backwards compatibility


Index: cmLocalGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmLocalGenerator.cxx,v
retrieving revision 1.256
retrieving revision 1.257
diff -u -d -r1.256 -r1.257
--- cmLocalGenerator.cxx	18 Jan 2008 15:25:25 -0000	1.256
+++ cmLocalGenerator.cxx	19 Jan 2008 20:09:36 -0000	1.257
@@ -275,11 +275,7 @@
     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);



More information about the Cmake-commits mailing list