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

Method AddCommand

Source/CTest/cmCTestMultiProcessHandler.cxx:1284–1292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1282 Json::Value Nodes = Json::arrayValue;
1283
1284 Json::ArrayIndex AddCommand(std::string const& command)
1285 {
1286 auto i = this->CommandMap.find(command);
1287 if (i == this->CommandMap.end()) {
1288 i = this->CommandMap.emplace(command, this->Commands.size()).first;
1289 this->Commands.append(command);
1290 }
1291 return i->second;
1292 }
1293
1294 Json::ArrayIndex AddFile(std::string const& file)
1295 {

Callers 8

AddMethod · 0.95
RunChildMethod · 0.45
LoadRevisionsMethod · 0.45
RunChildMethod · 0.45
ExecuteScriptMethod · 0.45
RunMakeCommandMethod · 0.45
RunBullseyeCommandMethod · 0.45
RunTestMethod · 0.45

Calls 5

emplaceMethod · 0.80
appendMethod · 0.80
findMethod · 0.45
endMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected