| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[hdEmbree/CMake] Resolve embree using `CONFIG` and targets In support of the AOUSD Build Interest Group's cmake modernization, this migrates the embree dependency to use `CONFIG` and named targets. Since embree 4 is now required, this change specifies `4` as the version range. To ensure targets are being used downstream, an alias `Embree::embree` is provided as well. The `hdEmbree` package was previously configured to skip building if Embree couldn't be found. However, since the `hdEmbree` plugin directory was already gated behind `PXR_BUILD_EMBREE_PLUGIN`, this created a case where if Embree was requested but not found, no error would be reported. On Linux, a similar but slightly different `compile_commands.json` is generated. The install directory's system include is reordered to be ahead of the python system include. https://github.com/aousd/build-ig-initiatives/issues/13 https://github.com/aousd/build-ig-initiatives/issues/10 Closes #4107 (Internal change: 2418279) | 1 个月前 | |
cmake: Rename `pxr_build_test_shared_lib` to `pxr_build_test_shared_plugin`. This rename helps to avoid confusion. We now have two cmake functions: 1. `pxr_build_test_library` - builds a test-only shared library that can be directly linked to unit-test executables. Those executables can consume public headers from the test-only library. 2. `pxr_build_test_plugin` - builds a test-only shared library that does not provide public headers, and therefore symbols must be loaded from the library by a plugin mechanism (e.g. TfType). These plugins can provide a plugInfo.json file to register their contents. (Internal change: 2424120) | 16 天前 | |
[hdEmbree/CMake] Resolve embree using `CONFIG` and targets In support of the AOUSD Build Interest Group's cmake modernization, this migrates the embree dependency to use `CONFIG` and named targets. Since embree 4 is now required, this change specifies `4` as the version range. To ensure targets are being used downstream, an alias `Embree::embree` is provided as well. The `hdEmbree` package was previously configured to skip building if Embree couldn't be found. However, since the `hdEmbree` plugin directory was already gated behind `PXR_BUILD_EMBREE_PLUGIN`, this created a case where if Embree was requested but not found, no error would be reported. On Linux, a similar but slightly different `compile_commands.json` is generated. The install directory's system include is reordered to be ahead of the python system include. https://github.com/aousd/build-ig-initiatives/issues/13 https://github.com/aousd/build-ig-initiatives/issues/10 Closes #4107 (Internal change: 2418279) | 1 个月前 | |
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) | 1 个月前 |