[cmake-commits] king committed cmLocalUnixMakefileGenerator3.cxx 1.172 1.173

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Sep 20 12:13:53 EDT 2006


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

Modified Files:
	cmLocalUnixMakefileGenerator3.cxx 
Log Message:
BUG: cmake_force needs to be written into build.make as well as Makefile.


Index: cmLocalUnixMakefileGenerator3.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmLocalUnixMakefileGenerator3.cxx,v
retrieving revision 1.172
retrieving revision 1.173
diff -u -d -r1.172 -r1.173
--- cmLocalUnixMakefileGenerator3.cxx	8 Sep 2006 14:42:14 -0000	1.172
+++ cmLocalUnixMakefileGenerator3.cxx	20 Sep 2006 16:13:50 -0000	1.173
@@ -738,6 +738,17 @@
                         no_commands, false);
     }
 
+  // Special symbolic target that never exists to force dependers to
+  // run their rules.
+  {
+  std::vector<std::string> no_depends;
+  std::vector<std::string> no_commands;
+  this->WriteMakeRule
+    (makefileStream,
+     "A target that is always out of date.",
+     "cmake_force", no_depends, no_commands, true);
+  }
+
   // Variables for reference by other rules.
   this->WriteMakeVariables(makefileStream);
 }
@@ -782,17 +793,6 @@
                       no_depends,
                       commands, true);
   }
-
-  // Special symbolic target that never exists to force dependers to
-  // run their rules.
-  {
-  std::vector<std::string> no_depends;
-  std::vector<std::string> no_commands;
-  this->WriteMakeRule
-    (makefileStream,
-     "A target that is always out of date.",
-     "cmake_force", no_depends, no_commands, true);
-  }
 }
 
 



More information about the Cmake-commits mailing list