| 85 | } |
| 86 | |
| 87 | void cmExportCMakeConfigGenerator::GenerateInterfaceProperties( |
| 88 | cmGeneratorTarget const* target, std::ostream& os, |
| 89 | ImportPropertyMap const& properties) |
| 90 | { |
| 91 | if (!properties.empty()) { |
| 92 | std::string targetName = |
| 93 | cmStrCat(this->Namespace, target->GetExportName()); |
| 94 | os << "set_target_properties(" << targetName << " PROPERTIES\n"; |
| 95 | for (auto const& property : properties) { |
| 96 | os << " " << property.first << ' ' |
| 97 | << cmExportFileGeneratorEscape(property.second) << '\n'; |
| 98 | } |
| 99 | os << ")\n\n"; |
| 100 | } |
| 101 | } |
| 102 | |
| 103 | void cmExportCMakeConfigGenerator::SetImportLinkInterface( |
| 104 | std::string const& config, std::string const& suffix, |
nothing calls this directly
no test coverage detected