1 # Copyright (C) 2010-2020 CEA/DEN, EDF R&D
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
26 MEDReaderVectorsWidget.ui
27 MEDReaderTimeModeWidget.ui)
30 pqAbstractFieldsWidget.cxx
31 VectBoolSpreadSheet.cxx
33 pqExtractGroupFieldsWidget.cxx
34 pqMEDReaderGraphUtils.cxx
35 pqMEDReaderVectorsWidget.cxx
36 pqMEDReaderTimeModeWidget.cxx
37 pqMEDReaderReloadWidget.cxx
38 pqMEDReaderTimesFlagsWidget.cxx
39 pqMEDReaderFieldsWidget.cxx)
41 paraview_plugin_add_property_widget(
43 TYPE "MEDReaderTimeModeWidgetType"
44 CLASS_NAME pqMEDReaderTimeModeWidget
45 INTERFACES property_interfaces
46 SOURCES property_sources)
47 list(APPEND interfaces
48 ${property_interfaces})
52 paraview_plugin_add_property_widget(
54 TYPE "MEDReaderReloadWidgetType"
55 CLASS_NAME pqMEDReaderReloadWidget
56 INTERFACES property_interfaces
57 SOURCES property_sources)
58 list(APPEND interfaces
59 ${property_interfaces})
63 paraview_plugin_add_property_widget(
65 TYPE "MEDReaderVectorsWidgetType"
66 CLASS_NAME pqMEDReaderVectorsWidget
67 INTERFACES property_interfaces
68 SOURCES property_sources)
69 list(APPEND interfaces
70 ${property_interfaces})
74 paraview_plugin_add_property_widget(
76 TYPE "MEDReaderTimesFlagsWidgetType"
77 CLASS_NAME pqMEDReaderTimesFlagsWidget
78 INTERFACES property_interfaces
79 SOURCES property_sources)
80 list(APPEND interfaces
81 ${property_interfaces})
85 paraview_plugin_add_property_widget(
87 TYPE "MEDReaderFieldsWidgetType"
88 CLASS_NAME pqMEDReaderFieldsWidget
89 INTERFACES property_interfaces
90 SOURCES property_sources)
91 list(APPEND interfaces
92 ${property_interfaces})
96 paraview_plugin_add_property_widget(
98 TYPE "ExtractGroupFieldsWidgetType"
99 CLASS_NAME pqExtractGroupFieldsWidget
100 INTERFACES property_interfaces
101 SOURCES property_sources)
102 list(APPEND interfaces
103 ${property_interfaces})
107 endif(PARAVIEW_USE_QT)
109 paraview_add_plugin(MEDReader
111 UI_INTERFACES ${interfaces}
114 UI_RESOURCES Resources/pqMEDReader.qrc
115 SERVER_MANAGER_XML Resources/MEDReaderServer.xml
117 MODULE_FILES "${CMAKE_CURRENT_SOURCE_DIR}/../MEDReaderIO/vtk.module"
120 install(TARGETS MEDReader
121 RUNTIME DESTINATION lib/paraview
122 LIBRARY DESTINATION lib/paraview
123 ARCHIVE DESTINATION lib/paraview