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

Method WriteMacOSXContentBuild

Source/cmGlobalNinjaGenerator.cxx:430–443  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

428 }
429}
430void cmGlobalNinjaGenerator::WriteMacOSXContentBuild(std::string input,
431 std::string output,
432 std::string const& config)
433{
434 this->AddMacOSXContentRule();
435 {
436 cmNinjaBuild build(cmSystemTools::FileIsDirectory(input)
437 ? "COPY_OSX_CONTENT_DIR"
438 : "COPY_OSX_CONTENT_FILE");
439 build.Outputs.push_back(std::move(output));
440 build.ExplicitDeps.push_back(std::move(input));
441 this->WriteBuild(*this->GetImplFileStream(config), build);
442 }
443}
444
445void cmGlobalNinjaGenerator::WriteRule(std::ostream& os,
446 cmNinjaRule const& rule)

Callers 1

operator()Method · 0.80

Calls 5

AddMacOSXContentRuleMethod · 0.95
WriteBuildMethod · 0.95
GetImplFileStreamMethod · 0.95
moveFunction · 0.85
push_backMethod · 0.80

Tested by

no test coverage detected