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

Method FindTarget

Source/cmGlobalGenerator.cxx:2791–2801  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2789}
2790
2791cmTarget* cmGlobalGenerator::FindTarget(
2792 std::string const& name, cmStateEnums::TargetDomainSet domains) const
2793{
2794 if (domains.contains(cmStateEnums::TargetDomain::ALIAS)) {
2795 auto const ai = this->AliasTargets.find(name);
2796 if (ai != this->AliasTargets.end()) {
2797 return this->FindTargetImpl(ai->second, domains);
2798 }
2799 }
2800 return this->FindTargetImpl(name, domains);
2801}
2802
2803cmGeneratorTarget* cmGlobalGenerator::FindGeneratorTarget(
2804 std::string const& name) const

Callers 12

FindTargetToUseMethod · 0.80
HandleTargetsModeFunction · 0.80
HandleArgumentsMethod · 0.80
HandleTargetsModeFunction · 0.80
GetStartupProjectNameMethod · 0.80
HandleLibraryMethod · 0.80
AppendExternalObjectMethod · 0.80

Calls 3

FindTargetImplMethod · 0.95
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected