[usd] Add custom usage file with CMake and plugin deployment guidance - #53700
[usd] Add custom usage file with CMake and plugin deployment guidance#53700JacksonSun-adsk (wingfiring) wants to merge 1 commit into
Conversation
4c6826a to
0f56554
Compare
| Windows: | ||
| bin/*.dll | ||
| bin/usd/ (top-level plugInfo.json and plugin DLLs) | ||
|
|
||
| Unix: | ||
| lib/*.so* (USD libraries you linked against, and their dependencies) | ||
| lib/usd/ (top-level plugInfo.json and plugin shared objects) |
There was a problem hiding this comment.
This does not appear to be where plugins are actually installed based on line 93 ish of portfile.cmake?
There was a problem hiding this comment.
You're right — my original wording conflated two separate install locations.
I had focused on the core library layout: bin/.dll / lib/.lib (see the Windows block starting around line 105) and the per-library resource registries under bin/usd/ / lib/usd/ (the /usd debug-path fix on line 92, from patch 009). I overlooked the MODULE plugin binaries, which install under plugin/usd/ and are what line 93's /plugin replacement addresses.
Updated the usage to list both paths separately: bin/usd/ / lib/usd/ for the top-level plugInfo.json and core library resource registries, and plugin/usd/ for MODULE plugin DLLs/shared objects.
0f56554 to
214497f
Compare
The auto-generated usage only mentions TBB::tbb and omits USD library targets. Document find_package(pxr), typical link targets, and runtime plugin/plugInfo.json deployment requirements. Signed-off-by: Jackson Sun <Jackson.Sun@autodesk.com>
214497f to
6336a13
Compare
This PR includes:
ports/usd/usagefile because auto-generated usage only mentionsTBB::tbband omits USD library targets.find_package(pxr CONFIG REQUIRED), typical link targets, and runtime plugin/plugInfo.jsondeployment requirements (including Windows)../vcpkg x-add-version --alland committing the result.