| 464 | } |
| 465 | |
| 466 | void cmGeneratorTarget::GetLinkOptions(std::vector<std::string>& result, |
| 467 | std::string const& config, |
| 468 | std::string const& language) const |
| 469 | { |
| 470 | if (this->IsDeviceLink() && |
| 471 | this->GetPolicyStatusCMP0105() != cmPolicies::NEW) { |
| 472 | // link options are not propagated to the device link step |
| 473 | return; |
| 474 | } |
| 475 | |
| 476 | std::vector<BT<std::string>> tmp = this->GetLinkOptions(config, language); |
| 477 | result.reserve(tmp.size()); |
| 478 | for (BT<std::string>& v : tmp) { |
| 479 | result.emplace_back(std::move(v.Value)); |
| 480 | } |
| 481 | } |
| 482 | |
| 483 | std::vector<BT<std::string>> cmGeneratorTarget::GetLinkOptions( |
| 484 | std::string const& config, std::string const& language) const |
no test coverage detected