| 2627 | } |
| 2628 | |
| 2629 | std::string Helper::GetDestination(cmInstallCommandArguments const* args, |
| 2630 | std::string const& varName, |
| 2631 | std::string const& guess) const |
| 2632 | { |
| 2633 | if (args && !args->GetDestination().empty()) { |
| 2634 | return args->GetDestination(); |
| 2635 | } |
| 2636 | std::string val = this->Makefile->GetSafeDefinition(varName); |
| 2637 | if (!val.empty()) { |
| 2638 | return val; |
| 2639 | } |
| 2640 | return guess; |
| 2641 | } |
| 2642 | |
| 2643 | std::string Helper::GetRuntimeDestination( |
| 2644 | cmInstallCommandArguments const* args) const |
no test coverage detected