diff options
author | Brad King <brad.king@kitware.com> | 2006-04-13 14:15:48 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-04-13 14:15:48 (GMT) |
commit | b323c3f51cc4caf7f8c26f86ba3dd4a08e964c4b (patch) | |
tree | e0105163011be2cb5f379d8920b840497e66100b /Source/cmMakefileTargetGenerator.cxx | |
parent | bfaff96645276d93be9d509adfec7ff811402427 (diff) | |
download | CMake-b323c3f51cc4caf7f8c26f86ba3dd4a08e964c4b.zip CMake-b323c3f51cc4caf7f8c26f86ba3dd4a08e964c4b.tar.gz CMake-b323c3f51cc4caf7f8c26f86ba3dd4a08e964c4b.tar.bz2 |
BUG: Work-around Watcom WMake limitation for multiple-output custom command support.
Diffstat (limited to 'Source/cmMakefileTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileTargetGenerator.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx index f2d3dc0..249db05 100644 --- a/Source/cmMakefileTargetGenerator.cxx +++ b/Source/cmMakefileTargetGenerator.cxx @@ -660,6 +660,11 @@ void cmMakefileTargetGenerator commands.clear(); cmGlobalUnixMakefileGenerator3* gg = static_cast<cmGlobalUnixMakefileGenerator3*>(this->GlobalGenerator); + std::string emptyCommand = gg->GetEmptyCommandHack(); + if(!emptyCommand.empty()) + { + commands.push_back(emptyCommand); + } for(++o; o != outputs.end(); ++o) { this->LocalGenerator->WriteMakeRule(*this->BuildFileStream, 0, |