summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalUnixMakefileGenerator3.h
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/cmGlobalUnixMakefileGenerator3.h
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/cmGlobalUnixMakefileGenerator3.h')
-rw-r--r--Source/cmGlobalUnixMakefileGenerator3.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/Source/cmGlobalUnixMakefileGenerator3.h b/Source/cmGlobalUnixMakefileGenerator3.h
index aa901af..5d4ceef 100644
--- a/Source/cmGlobalUnixMakefileGenerator3.h
+++ b/Source/cmGlobalUnixMakefileGenerator3.h
@@ -111,9 +111,9 @@ public:
check-build-system step. */
virtual void CheckMultipleOutputs(cmMakefile* mf, bool verbose);
- /** Get the command to use for a non-symbolic target file that has
- no rule. This is used for multiple output dependencies. */
- std::string GetEmptyCommandHack() { return this->EmptyCommandsHack; }
+ /** Get the command to use for a target that has no rule. This is
+ used for multiple output dependencies and for cmake_force. */
+ std::string GetEmptyRuleHackCommand() { return this->EmptyRuleHackCommand; }
/** Get the fake dependency to use when a rule has no real commands
or dependencies. */
@@ -175,11 +175,10 @@ protected:
// that can be added.
std::string EmptyRuleHackDepends;
- // Some make programs (Watcom) do not like rules with no commands
- // for non-symbolic targets. If non-empty this variable holds a
- // bogus command that may be put in the rule to satisfy the make
- // program.
- std::string EmptyCommandsHack;
+ // Some make programs (Watcom) do not like rules with no commands.
+ // If non-empty this variable holds a bogus command that may be put
+ // in the rule to satisfy the make program.
+ std::string EmptyRuleHackCommand;
typedef std::map<cmStdString, cmStdString> MultipleOutputPairsType;
MultipleOutputPairsType MultipleOutputPairs;