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

Method AppendCustomCommandDeps

Source/cmLocalNinjaGenerator.cxx:411–422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

409}
410
411void cmLocalNinjaGenerator::AppendCustomCommandDeps(
412 cmCustomCommandGenerator const& ccg, cmNinjaDeps& ninjaDeps,
413 std::string const& config)
414{
415 for (std::string const& i : ccg.GetDepends()) {
416 std::string dep;
417 if (this->GetRealDependency(i, config, dep)) {
418 ninjaDeps.push_back(
419 this->GetGlobalNinjaGenerator()->ConvertToNinjaPath(dep));
420 }
421 }
422}
423
424std::string cmLocalNinjaGenerator::WriteCommandScript(
425 std::vector<std::string> const& cmdLines, std::string const& outputConfig,

Calls 4

GetDependsMethod · 0.80
GetRealDependencyMethod · 0.80
push_backMethod · 0.80

Tested by

no test coverage detected