1 # Copyright (C) 2014-2022 CEA/DEN, EDF R&D, OPEN CASCADE
3 # This library is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU Lesser General Public
5 # License as published by the Free Software Foundation; either
6 # version 2.1 of the License, or (at your option) any later version.
8 # This library is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 # Lesser General Public License for more details.
13 # You should have received a copy of the GNU Lesser General Public
14 # License along with this library; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
25 ${PROJECT_SOURCE_DIR}/src/Qtx
26 ${PROJECT_SOURCE_DIR}/src/SUIT
27 ${PROJECT_SOURCE_DIR}/src/PV3DViewer
28 ${PROJECT_SOURCE_DIR}/src/PVViewer
29 ${PROJECT_SOURCE_DIR}/src/PVServerService
38 ${KERNEL_SALOMELocalTrace}
44 ParaView::pqApplicationComponents
50 # header files / to be processed by moc
52 PV3DViewer_ViewManager.h
53 PV3DViewer_ViewModel.h
54 PV3DViewer_ViewWindow.h
55 # PV3DViewer_Behaviors.h
56 # PV3DViewer_GUIElements.h
57 # PV3DViewer_InitSingleton.h
60 # header files / no moc processing
63 # PV3DViewer_OutputWindow.h
66 # header files / to install
67 SET(PV3DViewer_HEADERS ${_moc_HEADERS} ${_other_HEADERS})
69 # resource files / to be processed by lrelease
71 resources/PV3DViewer_msg_en.ts
72 resources/PV3DViewer_msg_ja.ts
73 resources/PV3DViewer_msg_fr.ts
78 # sources / moc wrappings
79 QT_WRAP_MOC(_moc_SOURCES ${_moc_HEADERS})
81 # sources / rcc wrappings
82 QT_ADD_RESOURCES(_rcc_SOURCES ${_rcc_RESOURCES})
86 PV3DViewer_ViewManager.cxx
87 PV3DViewer_ViewModel.cxx
88 PV3DViewer_ViewWindow.cxx
89 # PV3DViewer_OutputWindow.cxx
90 # PV3DViewer_Behaviors.cxx
91 # PV3DViewer_GUIElements.cxx
93 # PV3DViewer_InitSingleton.cxx
96 # sources / to compile
97 SET(PV3DViewer_SOURCES
104 ADD_LIBRARY(PV3DViewer ${PV3DViewer_SOURCES})
106 TARGET_LINK_LIBRARIES(PV3DViewer ${_link_LIBRARIES})
107 INSTALL(TARGETS PV3DViewer EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
109 QT_INSTALL_TS_RESOURCES("${_ts_RESOURCES}" "${SALOME_GUI_INSTALL_RES_DATA}")
111 # --- header and resources installation ---
112 INSTALL(FILES ${PV3DViewer_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})