| 3534 | } |
| 3535 | |
| 3536 | void cmLocalGenerator::AddTargetPropertyLinkFlags( |
| 3537 | std::string& flags, cmGeneratorTarget const* target, |
| 3538 | std::string const& config) |
| 3539 | { |
| 3540 | cmValue targetLinkFlags = target->GetProperty("LINK_FLAGS"); |
| 3541 | if (targetLinkFlags) { |
| 3542 | this->AppendFlags(flags, *targetLinkFlags); |
| 3543 | } |
| 3544 | if (!config.empty()) { |
| 3545 | cmValue targetLinkFlagsConfig = target->GetProperty( |
| 3546 | cmStrCat("LINK_FLAGS_", cmSystemTools::UpperCase(config))); |
| 3547 | if (targetLinkFlagsConfig) { |
| 3548 | this->AppendFlags(flags, *targetLinkFlagsConfig); |
| 3549 | } |
| 3550 | } |
| 3551 | } |
| 3552 | |
| 3553 | void cmLocalGenerator::AppendIPOLinkerFlags(std::string& flags, |
| 3554 | cmGeneratorTarget* target, |
no test coverage detected