Currently in order to link with any of the OpenUSD xcframeworks, we only have the option of linking against the single monolithic OpenUSD product.
Would it be possible to add the various individual OpenUSD libraries into products: [] so they can be linked against individually?
Consuming packages would then be able to do something like the following:
.target(
name: "MyLibrary",
dependencies: [
.product(name: "Usd_Arch", package: "SwiftUsd"),
.product(name: "Usd_Tf", package: "SwiftUsd"),
]
)
I would be happy to contribute this change, if you feel this would be a value add to the project.
Currently in order to link with any of the OpenUSD xcframeworks, we only have the option of linking against the single monolithic
OpenUSDproduct.Would it be possible to add the various individual OpenUSD libraries into
products: []so they can be linked against individually?Consuming packages would then be able to do something like the following:
I would be happy to contribute this change, if you feel this would be a value add to the project.