| 542 | } |
| 543 | |
| 544 | bool 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 | |
| 557 | void cmInstallTargetGenerator::PreReplacementTweaks(std::ostream& os, |
| 558 | Indent indent, |
nothing calls this directly
no test coverage detected