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

Method DetermineIfIntegrityApp

Source/cmGhsMultiTargetGenerator.cxx:751–762  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

749}
750
751bool cmGhsMultiTargetGenerator::DetermineIfIntegrityApp()
752{
753 if (cmValue p = this->GeneratorTarget->GetProperty("ghs_integrity_app")) {
754 return p.IsOn();
755 }
756 std::vector<cmSourceFile*> sources;
757 this->GeneratorTarget->GetSourceFiles(sources, this->ConfigName);
758 return std::any_of(sources.begin(), sources.end(),
759 [](cmSourceFile const* sf) -> bool {
760 return "int" == sf->GetExtension();
761 });
762}
763
764bool cmGhsMultiTargetGenerator::ComputeCustomCommandOrder(
765 std::vector<cmSourceFile const*>& order)

Callers

nothing calls this directly

Calls 6

GetSourceFilesMethod · 0.80
GetExtensionMethod · 0.80
GetPropertyMethod · 0.45
IsOnMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected