| 99 | } |
| 100 | |
| 101 | void cmQtAutoGenerator::Logger::ErrorCommand( |
| 102 | GenT genType, cm::string_view message, |
| 103 | std::vector<std::string> const& command, std::string const& output) const |
| 104 | { |
| 105 | std::string msg = cmStrCat( |
| 106 | '\n', HeadLine(cmStrCat(GeneratorName(genType), " subprocess error")), |
| 107 | message, cmHasSuffix(message, '\n') ? "\n" : "\n\n"); |
| 108 | msg += cmStrCat(HeadLine("Command"), QuotedCommand(command), "\n\n"); |
| 109 | msg += cmStrCat(HeadLine("Output"), output, |
| 110 | cmHasSuffix(output, '\n') ? "\n" : "\n\n"); |
| 111 | { |
| 112 | std::lock_guard<std::mutex> lock(this->Mutex_); |
| 113 | cmSystemTools::Stderr(msg); |
| 114 | } |
| 115 | } |
| 116 | |
| 117 | bool cmQtAutoGenerator::MakeParentDirectory(std::string const& filename) |
| 118 | { |
no test coverage detected