[cmake-commits] king committed cmLocalUnixMakefileGenerator3.cxx
1.191 1.192
cmake-commits at cmake.org
cmake-commits at cmake.org
Wed Feb 28 09:33:27 EST 2007
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv14674
Modified Files:
cmLocalUnixMakefileGenerator3.cxx
Log Message:
BUG: Fix for cmake_force target in Borland Makefiles.
Index: cmLocalUnixMakefileGenerator3.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmLocalUnixMakefileGenerator3.cxx,v
retrieving revision 1.191
retrieving revision 1.192
diff -u -d -r1.191 -r1.192
--- cmLocalUnixMakefileGenerator3.cxx 27 Feb 2007 18:34:12 -0000 1.191
+++ cmLocalUnixMakefileGenerator3.cxx 28 Feb 2007 14:33:25 -0000 1.192
@@ -743,6 +743,16 @@
no_commands, false);
}
+ // Work-around for makes that drop rules that have no dependencies
+ // or commands.
+ cmGlobalUnixMakefileGenerator3* gg =
+ static_cast<cmGlobalUnixMakefileGenerator3*>(this->GlobalGenerator);
+ std::string hack = gg->GetEmptyRuleHackDepends();
+ if(!hack.empty())
+ {
+ no_depends.push_back(hack);
+ }
+
// Special symbolic target that never exists to force dependers to
// run their rules.
this->WriteMakeRule
More information about the Cmake-commits
mailing list