| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
docs, build: Update Python module install locations for change 2417140 (Internal change: 2419742) (Internal change: 2419750) | 2 个月前 | |
Enable building as an XCFramework This change enables OpenUSD to be built as an [XCFramework](https://developer.apple.com/documentation/xcode/creating-a-multi-platform-binary-framework-bundle) which are a multi platform framework, and simplifies creation of singular codebases that can target each of the supported Apple platforms. From a design perspective, it adds a command line argument to apple_utils.py which calls the build_usd.py per each target. `python OpenUSD/build_scripts/apple_utils.py xcframework /path/to/my_usd_install_dir` Closes #3715 (Internal change: 2418019) | 3 个月前 | |
Enable Building as an Apple Framework * `build_usd.py` now adds a `--build-apple-framework` and `--no-build-apple-framework` to enable building frameworks. Frameworks are enabled by default for embedded OS builds. * When building as a framework, USD builds as a monolithic shared library. * Framework builds force TBB and OpenSubdiv to be statically linked. This can be revised in the future, but we discussed this previously, and decided it was the lesser of two evils given we're moving to GCD support. * The CMake build calls out to a zsh script (zsh is guaranteed to exist on macOS) to build the framework. This is used because CMake's own native framework build support would be a far more invasive change currently. Co-authored-by: tlewis <tlewis@users.noreply.github.com> Closes #3713 (Internal change: 2417975) (Internal change: 2418014) | 3 个月前 | |
Enable Building as an Apple Framework * `build_usd.py` now adds a `--build-apple-framework` and `--no-build-apple-framework` to enable building frameworks. Frameworks are enabled by default for embedded OS builds. * When building as a framework, USD builds as a monolithic shared library. * Framework builds force TBB and OpenSubdiv to be statically linked. This can be revised in the future, but we discussed this previously, and decided it was the lesser of two evils given we're moving to GCD support. * The CMake build calls out to a zsh script (zsh is guaranteed to exist on macOS) to build the framework. This is used because CMake's own native framework build support would be a far more invasive change currently. Co-authored-by: tlewis <tlewis@users.noreply.github.com> Closes #3713 (Internal change: 2417975) (Internal change: 2418014) | 3 个月前 |