| 85 | } |
| 86 | |
| 87 | std::string cmCTestVC::ComputeCommandLine(std::vector<std::string> const& cmd) |
| 88 | { |
| 89 | std::ostringstream line; |
| 90 | char const* sep = ""; |
| 91 | for (auto const& arg : cmd) { |
| 92 | line << sep << "\"" << arg << "\""; |
| 93 | sep = " "; |
| 94 | } |
| 95 | return line.str(); |
| 96 | } |
| 97 | |
| 98 | bool cmCTestVC::RunUpdateCommand(std::vector<std::string> const& cmd, |
| 99 | OutputParser* out, OutputParser* err, |