| 643 | } |
| 644 | |
| 645 | std::string cmLocalUnixMakefileGenerator3::MaybeConvertWatcomShellCommand( |
| 646 | std::string const& cmd) |
| 647 | { |
| 648 | if (this->IsWatcomWMake() && cmSystemTools::FileIsFullPath(cmd) && |
| 649 | cmd.find_first_of("( )") != std::string::npos) { |
| 650 | // On Watcom WMake use the windows short path for the command |
| 651 | // name. This is needed to avoid funny quoting problems on |
| 652 | // lines with shell redirection operators. |
| 653 | std::string scmd; |
| 654 | if (cmSystemTools::GetShortPath(cmd, scmd)) { |
| 655 | return this->ConvertToOutputFormat(scmd, cmOutputConverter::SHELL); |
| 656 | } |
| 657 | } |
| 658 | return std::string(); |
| 659 | } |
| 660 | |
| 661 | void cmLocalUnixMakefileGenerator3::WriteMakeVariables( |
| 662 | std::ostream& makefileStream) |
no test coverage detected