| 616 | } |
| 617 | |
| 618 | void cmExportInstallFileGenerator::PopulateLinkDependsInterface( |
| 619 | cmGeneratorTarget const* gt, |
| 620 | cmGeneratorExpression::PreprocessContext preprocessRule, |
| 621 | ImportPropertyMap& properties) |
| 622 | { |
| 623 | assert(preprocessRule == cmGeneratorExpression::InstallInterface); |
| 624 | |
| 625 | char const* const propName = "INTERFACE_LINK_DEPENDS"; |
| 626 | cmValue input = gt->GetProperty(propName); |
| 627 | |
| 628 | if (!input) { |
| 629 | return; |
| 630 | } |
| 631 | |
| 632 | if (input->empty()) { |
| 633 | properties[propName].clear(); |
| 634 | return; |
| 635 | } |
| 636 | |
| 637 | std::string prepro = cmGeneratorExpression::Preprocess( |
| 638 | *input, preprocessRule, this->GetImportPrefixWithSlash()); |
| 639 | if (!prepro.empty()) { |
| 640 | this->ResolveTargetsInGeneratorExpressions(prepro, gt); |
| 641 | |
| 642 | if (!this->CheckInterfaceDirs(prepro, gt, propName)) { |
| 643 | return; |
| 644 | } |
| 645 | properties[propName] = prepro; |
| 646 | } |
| 647 | } |
| 648 | |
| 649 | void cmExportInstallFileGenerator::PopulateLinkDirectoriesInterface( |
| 650 | cmGeneratorTarget const* gt, |
no test coverage detected