-# Copyright (C) 2012-2014 CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2012-2023 CEA, EDF, OPEN CASCADE
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-INCLUDE(UseQt4Ext)
-INCLUDE(${VTK_USE_FILE})
+INCLUDE(UseQtExt)
# --- options ---
# additional include directories
INCLUDE_DIRECTORIES(
- ${CAS_INCLUDE_DIRS}
+ ${OpenCASCADE_INCLUDE_DIR}
${QT_INCLUDES}
${Boost_INCLUDE_DIRS}
${PTHREAD_INCLUDE_DIR}
)
# additional preprocessor / compiler flags
-ADD_DEFINITIONS(${QT_DEFINITIONS} ${CAS_DEFINITIONS} ${BOOST_DEFINITIONS})
+ADD_DEFINITIONS(${QT_DEFINITIONS} ${OpenCASCADE_DEFINITIONS} ${BOOST_DEFINITIONS})
# libraries to link to
SET(_link_LIBRARIES
- ${QT_LIBRARIES}
+ ${QT_LIBRARIES}
${OPENGL_LIBRARIES}
- ${VTK_LIBRARIES}
- ${CAS_KERNEL} ${CAS_VIEWER}
+ ${OpenCASCADE_FoundationClasses_LIBRARIES} ${OpenCASCADE_Visualization_LIBRARIES}
${KERNEL_OpUtil}
qtx suit ViewerTools SalomeObject SalomePrs VTKViewer OpenGLUtils
+ VTK::RenderingAnnotation
+ VTK::ImagingCore
+ VTK::CommonSystem
+ VTK::IOExportGL2PS
)
# --- headers ---
SVTK_FontWidget.h
SVTK_GenericRenderWindowInteractor.h
SVTK_RecorderDlg.h
+ SVTK_PsOptionsDlg.h
SVTK_RenderWindowInteractor.h
SVTK_SetRotationPointDlg.h
SVTK_View.h
SVTK_Selector.h
SVTK_SpaceMouse.h
SVTK_Utils.h
+ SVTK_Hash.h
)
# header files / no moc processing / internal
resources/vtk_view_rotation_point.png
resources/vtk_view_scaling.png
resources/vtk_view_selection.png
+ resources/vtk_view_stereo.png
resources/vtk_view_style_switch.png
resources/vtk_view_update_rate.png
resources/vtk_view_zooming_style_switch.png
# --- sources ---
# sources / moc wrappings
-QT4_WRAP_CPP(_moc_SOURCES ${_moc_HEADERS} ${_moc_internal_HEADERS})
+QT_WRAP_MOC(_moc_SOURCES ${_moc_HEADERS} ${_moc_internal_HEADERS})
# sources / static
SET(_other_SOURCES
SVTK_Prs.cxx
SVTK_Recorder.cxx
SVTK_RecorderDlg.cxx
+ SVTK_PsOptionsDlg.cxx
SVTK_RenderWindowInteractor.cxx
SVTK_Renderer.cxx
SVTK_Selector.cxx
INSTALL(TARGETS SVTK EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
INSTALL(FILES ${SVTK_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})
-QT4_INSTALL_TS_RESOURCES("${_ts_RESOURCES}" "${SALOME_GUI_INSTALL_RES_DATA}")
+QT_INSTALL_TS_RESOURCES("${_ts_RESOURCES}" "${SALOME_GUI_INSTALL_RES_DATA}")
INSTALL(FILES ${_other_RESOURCES} DESTINATION ${SALOME_GUI_INSTALL_RES_DATA})
-