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

Method AddMacOSXContentRule

Source/cmGlobalNinjaGenerator.cxx:413–429  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

411}
412
413void cmGlobalNinjaGenerator::AddMacOSXContentRule()
414{
415 {
416 cmNinjaRule rule("COPY_OSX_CONTENT_FILE");
417 rule.Command = cmStrCat(this->CMakeCmd(), " -E copy $in $out");
418 rule.Description = "Copying OS X Content $out";
419 rule.Comment = "Rule for copying OS X bundle content file, with style.";
420 this->AddRule(rule);
421 }
422 {
423 cmNinjaRule rule("COPY_OSX_CONTENT_DIR");
424 rule.Command = cmStrCat(this->CMakeCmd(), " -E copy_directory $in $out");
425 rule.Description = "Copying OS X Content $out";
426 rule.Comment = "Rule for copying OS X bundle content dir, with style.";
427 this->AddRule(rule);
428 }
429}
430void cmGlobalNinjaGenerator::WriteMacOSXContentBuild(std::string input,
431 std::string output,
432 std::string const& config)

Callers 1

Calls 3

CMakeCmdMethod · 0.95
AddRuleMethod · 0.95
cmStrCatFunction · 0.70

Tested by

no test coverage detected