|
@@ -536,12 +536,6 @@ cmComputeLinkInformation::GetSharedLibrariesLinked() const
|
|
|
return this->SharedLibrariesLinked;
|
|
return this->SharedLibrariesLinked;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-const std::vector<const cmGeneratorTarget*>&
|
|
|
|
|
-cmComputeLinkInformation::GetObjectLibrariesLinked() const
|
|
|
|
|
-{
|
|
|
|
|
- return this->ObjectLibrariesLinked;
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
bool cmComputeLinkInformation::Compute()
|
|
bool cmComputeLinkInformation::Compute()
|
|
|
{
|
|
{
|
|
|
// Skip targets that do not link.
|
|
// Skip targets that do not link.
|
|
@@ -1164,12 +1158,7 @@ void cmComputeLinkInformation::AddItem(LinkEntry const& entry)
|
|
|
this->AddItem(BT<std::string>(libName, item.Backtrace));
|
|
this->AddItem(BT<std::string>(libName, item.Backtrace));
|
|
|
}
|
|
}
|
|
|
} else if (tgt->GetType() == cmStateEnums::OBJECT_LIBRARY) {
|
|
} else if (tgt->GetType() == cmStateEnums::OBJECT_LIBRARY) {
|
|
|
- if (!tgt->HaveCxx20ModuleSources() && !tgt->HaveFortranSources(config)) {
|
|
|
|
|
- // Ignore object library!
|
|
|
|
|
- // Its object-files should already have been extracted for linking.
|
|
|
|
|
- } else {
|
|
|
|
|
- this->ObjectLibrariesLinked.push_back(entry.Target);
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ this->Items.emplace_back(entry.Item, ItemIsPath::No, entry.Target);
|
|
|
} else if (this->GlobalGenerator->IsXcode() &&
|
|
} else if (this->GlobalGenerator->IsXcode() &&
|
|
|
!tgt->GetImportedXcFrameworkPath(config).empty()) {
|
|
!tgt->GetImportedXcFrameworkPath(config).empty()) {
|
|
|
this->Items.emplace_back(
|
|
this->Items.emplace_back(
|