MCPcopy Create free account
hub / github.com/Kitware/CMake / PopulateImportProperties

Method PopulateImportProperties

Source/cmExportInstallFileGenerator.cxx:41–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41void cmExportInstallFileGenerator::PopulateImportProperties(
42 std::string const& config, std::string const& suffix,
43 cmTargetExport const* targetExport, ImportPropertyMap& properties,
44 std::set<std::string>& importedLocations)
45{
46 this->SetImportLocationProperty(config, suffix,
47 targetExport->ArchiveGenerator, properties,
48 importedLocations);
49 this->SetImportLocationProperty(config, suffix,
50 targetExport->LibraryGenerator, properties,
51 importedLocations);
52 this->SetImportLocationProperty(config, suffix,
53 targetExport->RuntimeGenerator, properties,
54 importedLocations);
55 this->SetImportLocationProperty(config, suffix,
56 targetExport->ObjectsGenerator, properties,
57 importedLocations);
58 this->SetImportLocationProperty(config, suffix,
59 targetExport->FrameworkGenerator, properties,
60 importedLocations);
61 this->SetImportLocationProperty(config, suffix,
62 targetExport->BundleGenerator, properties,
63 importedLocations);
64
65 // If any file location was set for the target add it to the
66 // import file.
67 if (!properties.empty()) {
68 // Get the rest of the target details.
69 cmGeneratorTarget const* const gtgt = targetExport->Target;
70 this->SetImportDetailProperties(config, suffix, gtgt, properties);
71
72 // TODO: PUBLIC_HEADER_LOCATION
73 // This should wait until the build feature propagation stuff is done.
74 // Then this can be a propagated include directory.
75 // this->GenerateImportProperty(config, te->HeaderGenerator, properties);
76 }
77}
78
79std::string cmExportInstallFileGenerator::GetImportXcFrameworkLocation(
80 std::string const& config, cmTargetExport const* targetExport) const

Calls 3

emptyMethod · 0.45

Tested by

no test coverage detected