Skip to content

Commit

Permalink
Merge pull request #405 from CesiumGS/remove-rtx-plugins
Browse files Browse the repository at this point in the history
Remove rtx_plugins dependency
  • Loading branch information
lilleyse authored Jul 31, 2023
2 parents 92370d8 + a31d898 commit 6116e29
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 18 deletions.
17 changes: 3 additions & 14 deletions extern/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ set(CARB_ROOT "${NVIDIA_BUILD_DIR}/target-deps/carb_sdk_plugins")
set(KIT_SDK_ROOT "${NVIDIA_BUILD_DIR}/target-deps/kit-sdk")
set(PYBIND11_ROOT "${NVIDIA_BUILD_DIR}/target-deps/pybind11")
set(CUDA_ROOT "${NVIDIA_BUILD_DIR}/target-deps/cuda")
set(RTX_PLUGINS_ROOT "${NVIDIA_BUILD_DIR}/target-deps/rtx_plugins")

set(NVIDIA_USD_LIBRARIES
ar
Expand Down Expand Up @@ -187,9 +186,9 @@ endif()
# cmake-format: off
add_prebuilt_project(
RELEASE_INCLUDE_DIR
"${USDRT_ROOT}/include"
"${USDRT_ROOT}/include/usdrt_only"
DEBUG_INCLUDE_DIR
"${USDRT_ROOT}/include"
"${USDRT_ROOT}/include/usdrt_only"
RELEASE_LIBRARY_DIR
"${USDRT_ROOT}/_build/${NVIDIA_PLATFORM_NAME}/${NVIDIA_RELEASE_FOLDER_NAME}/usdrt_only"
DEBUG_LIBRARY_DIR
Expand All @@ -199,7 +198,7 @@ add_prebuilt_project(
DEBUG_LIBRARIES
omni.fabric.plugin
TARGET_NAMES
usdrt
fabric
)
# cmake-format: on

Expand Down Expand Up @@ -308,16 +307,6 @@ add_prebuilt_project(
)
# cmake-format: on

# cmake-format: off
# DynamicTextureProvider.h includes IImaging.h which only exists in the rtx_plugin package
add_prebuilt_project_header_only(
INCLUDE_DIR
"${RTX_PLUGINS_ROOT}/include"
TARGET_NAME
rtx_plugins
)
# cmake-format: on

if(WIN32)
set(NVIDIA_ADDITIONAL_LIBRARIES
"${PROJECT_SOURCE_DIR}/extern/nvidia/_build/target-deps/kit-sdk/exts/omni.kit.renderer.imgui/bin/imgui.dll"
Expand Down
2 changes: 0 additions & 2 deletions extern/nvidia/deps/target-deps.packman.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
<filter include="carb_sdk_plugins"/>
<filter include="pybind11"/>
<filter include="cuda"/>
<filter include="rtx_plugins"/>
</import>
<import path="../_build/target-deps/kit-sdk-debug/dev/all-deps.packman.xml">
<filter include="nv_usd_py310_debug"/>
Expand All @@ -20,5 +19,4 @@
<dependency name="carb_sdk_plugins" linkPath="../_build/target-deps/carb_sdk_plugins"/>
<dependency name="pybind11" linkPath="../_build/target-deps/pybind11/pybind11"/>
<dependency name="cuda" linkPath="../_build/target-deps/cuda/cuda"/>
<dependency name="rtx_plugins" linkPath="../_build/target-deps/rtx_plugins"/>
</project>
3 changes: 1 addition & 2 deletions src/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ setup_lib(
cpr::cpr
stb::stb
ZLIB::ZLIB
usdrt
fabric
ar
arch
gf
Expand Down Expand Up @@ -86,7 +86,6 @@ setup_lib(
cudart
omni_kit
omni_ui
rtx_plugins
pybind11
python310
ADDITIONAL_LIBRARIES
Expand Down

0 comments on commit 6116e29

Please sign in to comment.