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

Method Compute

Source/cmInstallTargetGenerator.cxx:544–555  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

542}
543
544bool cmInstallTargetGenerator::Compute(cmLocalGenerator* lg)
545{
546 // Lookup this target in the current directory.
547 this->Target = lg->FindLocalNonAliasGeneratorTarget(this->TargetName);
548 if (!this->Target) {
549 // If no local target has been found, find it in the global scope.
550 this->Target =
551 lg->GetGlobalGenerator()->FindGeneratorTarget(this->TargetName);
552 }
553
554 return true;
555}
556
557void cmInstallTargetGenerator::PreReplacementTweaks(std::ostream& os,
558 Indent indent,

Callers

nothing calls this directly

Calls 3

FindGeneratorTargetMethod · 0.80
GetGlobalGeneratorMethod · 0.45

Tested by

no test coverage detected