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

Method GetTargets

Source/cmExportBuildFileGenerator.cxx:160–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158}
159
160void cmExportBuildFileGenerator::GetTargets(
161 std::vector<TargetExport>& targets) const
162{
163 if (this->ExportSet) {
164 for (std::unique_ptr<cmTargetExport> const& te :
165 this->ExportSet->GetTargetExports()) {
166 if (te->NamelinkOnly) {
167 continue;
168 }
169 targets.emplace_back(te->TargetName, te->XcFrameworkLocation);
170 }
171 return;
172 }
173 targets = this->Targets;
174}
175
176cmExportFileGenerator::ExportInfo cmExportBuildFileGenerator::FindExportInfo(
177 cmGeneratorTarget const* target) const

Callers 8

CollectExportsMethod · 0.95
ComputeTargetDependsMethod · 0.80
CheckTargetPropertiesMethod · 0.80
FindExportInfoMethod · 0.80
cmInstallTargetsCommandFunction · 0.80
EvaluateSplitConfigGenexFunction · 0.80

Calls 1

emplace_backMethod · 0.80

Tested by

no test coverage detected