Skip to content

Commit

Permalink
Merge pull request #3038 from Autodesk/tremblp/HYDRA-290/mtoh_mod
Browse files Browse the repository at this point in the history
Separate mtoh .mod file.
  • Loading branch information
seando-adsk authored Apr 27, 2023
2 parents d4b357c + fdd0d7b commit 38b8fc9
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 14 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,11 @@ if (BUILD_ADSK_PLUGIN)
install(FILES ${PROJECT_BINARY_DIR}/mayaUSD.mod DESTINATION ${CMAKE_INSTALL_PREFIX})
endif()

if (BUILD_HDMAYA)
configure_file("modules/mtoh.mod.template" ${PROJECT_BINARY_DIR}/mtoh.mod)
install(FILES ${PROJECT_BINARY_DIR}/mtoh.mod DESTINATION ${CMAKE_INSTALL_PREFIX})
endif()

if (BUILD_PXR_PLUGIN)
if (IS_WINDOWS)
configure_file("modules/pxrUSD_Win.mod.template" ${PROJECT_BINARY_DIR}/pxrUSD.mod)
Expand Down
7 changes: 0 additions & 7 deletions modules/mayaUSD.mod.template
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,3 @@ ${MAYAUSD_GTEST_PATH}

+ MayaUSD ${MAYAUSD_VERSION} ${CMAKE_INSTALL_PREFIX}/plugin/adsk
plug-ins: plugin

+ MTOH ${MAYAUSD_VERSION} ${CMAKE_INSTALL_PREFIX}/lib
icons:
plug-ins: maya
presets:
scripts:
resources:
7 changes: 0 additions & 7 deletions modules/mayaUSD_Win.mod.template
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,3 @@ ${MAYAUSD_GTEST_PATH}

+ MayaUSD ${MAYAUSD_VERSION} ${CMAKE_INSTALL_PREFIX}/plugin/adsk
plug-ins: plugin

+ MTOH ${MAYAUSD_VERSION} ${CMAKE_INSTALL_PREFIX}/lib
icons:
plug-ins: maya
presets:
scripts:
resources:
6 changes: 6 additions & 0 deletions modules/mtoh.mod.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
+ MTOH ${MAYAUSD_VERSION} ${CMAKE_INSTALL_PREFIX}/lib
icons:
plug-ins: maya
presets:
scripts:
resources:

0 comments on commit 38b8fc9

Please sign in to comment.