MCPcopy Create free account
hub / github.com/Kitware/CMake / ComputeCommandLine

Method ComputeCommandLine

Source/CTest/cmCTestVC.cxx:87–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87std::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
98bool cmCTestVC::RunUpdateCommand(std::vector<std::string> const& cmd,
99 OutputParser* out, OutputParser* err,

Callers 1

RunUpdateCommandMethod · 0.95

Calls 1

strMethod · 0.80

Tested by

no test coverage detected