set(PXR_PREFIX pxr/usdImaging) set(PXR_PACKAGE usdviewq) if (NOT PXR_BUILD_USDVIEW) return() endif() pxr_library(usdviewq LIBRARIES tf usd usdGeom ${Boost_PYTHON_LIBRARY} INCLUDE_DIRS ${Boost_INCLUDE_DIRS} PUBLIC_CLASSES utils PYTHON_CPPFILES moduleDeps.cpp PUBLIC_HEADERS api.h PYMODULE_CPPFILES module.cpp wrapUtils.cpp PYMODULE_FILES __init__.py appEventFilter.py arrayAttributeView.py customAttributes.py frameSlider.py appController.py usdviewApi.py plugin.py scalarTypes.py stageView.py usdviewContextMenuItem.py primContextMenu.py primContextMenuItems.py headerContextMenu.py attributeViewContextMenu.py layerStackContextMenu.py prettyPrint.py pythonInterpreter.py settings.py settings2.py adjustClipping.py adjustDefaultMaterial.py preferences.py primViewItem.py common.py legendUtil.py primLegend.py primTreeWidget.py propertyLegend.py attributeValueEditor.py overridableLineEdit.py variantComboBox.py qt.py constantGroup.py rootDataModel.py selectionDataModel.py viewSettingsDataModel.py freeCamera.py debugFlagsWidget.py usdviewstyle.qss PYSIDE_UI_FILES mainWindowUI.ui adjustClippingUI.ui adjustDefaultMaterialUI.ui attributeValueEditorUI.ui preferencesUI.ui primLegendUI.ui propertyLegendUI.ui ) install(DIRECTORY icons DESTINATION lib/python/pxr/Usdviewq ) pxr_test_scripts( testenv/testUsdviewqConstantGroup.py testenv/testUsdviewqSettings2.py testenv/testUsdviewqRootDataModel.py testenv/testUsdviewqSelectionDataModel.py testenv/testUsdviewqLauncher.py testenv/testUsdviewqViewSettingsDataModel.py ) pxr_install_test_dir( SRC testenv/testUsdviewqRootDataModel DEST testUsdviewqRootDataModel ) pxr_register_test(testUsdviewqConstantGroup PYTHON COMMAND "${CMAKE_INSTALL_PREFIX}/tests/testUsdviewqConstantGroup" EXPECTED_RETURN_CODE 0 ) pxr_register_test(testUsdviewqSettings2 PYTHON COMMAND "${CMAKE_INSTALL_PREFIX}/tests/testUsdviewqSettings2" EXPECTED_RETURN_CODE 0 ) pxr_register_test(testUsdviewqRootDataModel PYTHON COMMAND "${CMAKE_INSTALL_PREFIX}/tests/testUsdviewqRootDataModel" EXPECTED_RETURN_CODE 0 ) pxr_register_test(testUsdviewqSelectionDataModel PYTHON COMMAND "${CMAKE_INSTALL_PREFIX}/tests/testUsdviewqSelectionDataModel" EXPECTED_RETURN_CODE 0 ) pxr_register_test(testUsdviewqLauncher PYTHON COMMAND "${CMAKE_INSTALL_PREFIX}/tests/testUsdviewqLauncher" EXPECTED_RETURN_CODE 0 ) pxr_register_test(testUsdviewqViewSettingsDataModel PYTHON COMMAND "${CMAKE_INSTALL_PREFIX}/tests/testUsdviewqViewSettingsDataModel" EXPECTED_RETURN_CODE 0 )