summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator3.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-05-16 17:24:17 (GMT)
committerBrad King <brad.king@kitware.com>2007-05-16 17:24:17 (GMT)
commit142210997f803cd64f93795980dbf6dd38182697 (patch)
treef861c88b1df5be1ce8fcf03ee9793c8ff4ce78e3 /Source/cmLocalUnixMakefileGenerator3.cxx
parent01c7db07c3826c05c658a370cd0d42bf3128fcff (diff)
downloadCMake-142210997f803cd64f93795980dbf6dd38182697.zip
CMake-142210997f803cd64f93795980dbf6dd38182697.tar.gz
CMake-142210997f803cd64f93795980dbf6dd38182697.tar.bz2
BUG: Watcom WMake needs empty rule commands even for symbolic targets. This fixes the cmake_force target.
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index 5370750..3d89366 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -714,6 +714,11 @@ cmLocalUnixMakefileGenerator3
{
no_depends.push_back(hack);
}
+ std::string hack_cmd = gg->GetEmptyRuleHackCommand();
+ if(!hack_cmd.empty())
+ {
+ no_commands.push_back(hack_cmd);
+ }
// Special symbolic target that never exists to force dependers to
// run their rules.