[Cmake-commits] [cmake-commits] king committed cmLocalUnixMakefileGenerator3.cxx 1.252 1.253

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Oct 6 11:04:09 EDT 2008


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

Modified Files:
	cmLocalUnixMakefileGenerator3.cxx 
Log Message:
BUG: Fix convenience rule working directory

We generate convenience rules to build object files, preprocessed
outputs, and assembly outputs of source files individually with make
rules.  This removes a redundant working directory change when more than
one target builds the same source file.


Index: cmLocalUnixMakefileGenerator3.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmLocalUnixMakefileGenerator3.cxx,v
retrieving revision 1.252
retrieving revision 1.253
diff -C 2 -d -r1.252 -r1.253
*** cmLocalUnixMakefileGenerator3.cxx	14 May 2008 15:54:52 -0000	1.252
--- cmLocalUnixMakefileGenerator3.cxx	6 Oct 2008 15:04:06 -0000	1.253
***************
*** 359,366 ****
        this->GetRecursiveMakeCall(tgtMakefileName.c_str(), targetName.c_str())
        );
-     this->CreateCDCommand(commands,
-                           this->Makefile->GetHomeOutputDirectory(),
-                           this->Makefile->GetStartOutputDirectory());
      }
  
    // Write the rule to the makefile.
--- 359,366 ----
        this->GetRecursiveMakeCall(tgtMakefileName.c_str(), targetName.c_str())
        );
      }
+   this->CreateCDCommand(commands,
+                         this->Makefile->GetHomeOutputDirectory(),
+                         this->Makefile->GetStartOutputDirectory());
  
    // Write the rule to the makefile.



More information about the Cmake-commits mailing list