1 # Copyright (C) 2012-2020 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
23 # additional include directories
27 ${OpenCASCADE_INCLUDE_DIR}
28 ${PYTHON_INCLUDE_DIRS}
29 ${KERNEL_INCLUDE_DIRS}
33 ${MEDFILE_INCLUDE_DIRS}
35 ${OMNIORB_INCLUDE_DIR}
37 ${PROJECT_SOURCE_DIR}/src/OBJECT
38 ${PROJECT_SOURCE_DIR}/src/SMESHFiltersSelection
39 ${PROJECT_SOURCE_DIR}/src/SMDS
40 ${PROJECT_SOURCE_DIR}/src/SMESHDS
41 ${PROJECT_SOURCE_DIR}/src/SMESHUtils
42 ${PROJECT_SOURCE_DIR}/src/Controls
43 ${PROJECT_SOURCE_DIR}/src/SMESHClient
44 ${PROJECT_SOURCE_DIR}/src/MEDWrapper
45 ${PROJECT_SOURCE_DIR}/src/ADAPTGUI
47 ${PROJECT_BINARY_DIR}/idl
48 ${PROJECT_BINARY_DIR}/src/ADAPTGUI
49 ${MEDCOUPLING_INCLUDE_DIRS}
52 # additional preprocessor / compiler flags
54 ${OpenCASCADE_DEFINITIONS}
56 ${OMNIORB_DEFINITIONS}
59 # To avoid GetObject macro definition on WIN32
61 ADD_DEFINITIONS(-DNOGDI)
64 # libraries to link to
66 ${OpenCASCADE_Visualization_LIBRARIES}
73 ${GEOM_GEOMFiltersSelection}
82 ${MEDCoupling_medloader}
87 # header files / to be processed by moc
90 SMESHGUI_PatternWidget.h
91 SMESHGUI_MeshPatternDlg.h
92 SMESHGUI_CreatePatternDlg.h
95 SMESHGUI_TransparencyDlg.h
96 SMESHGUI_ClippingDlg.h
98 SMESHGUI_RemoveNodesDlg.h
99 SMESHGUI_RemoveElementsDlg.h
101 SMESHGUI_Measurements.h
102 SMESHGUI_Preferences_ScalarBarDlg.h
103 SMESHGUI_AddMeshElementDlg.h
104 SMESHGUI_GroupOnShapeDlg.h
105 SMESHGUI_FileInfoDlg.h
107 SMESHGUI_FilterLibraryDlg.h
108 SMESHGUI_SingleEditDlg.h
109 SMESHGUI_MultiEditDlg.h
110 SMESHGUI_DeleteGroupDlg.h
111 SMESHGUI_GroupOpDlg.h
112 SMESHGUI_FaceGroupsSeparatedByEdgesDlg.h
113 SMESHGUI_SmoothingDlg.h
114 SMESHGUI_RenumberingDlg.h
115 SMESHGUI_ExtrusionDlg.h
116 SMESHGUI_ExtrusionAlongPathDlg.h
117 SMESHGUI_RevolutionDlg.h
118 SMESHGUI_RotationDlg.h
119 SMESHGUI_TranslationDlg.h
122 SMESHGUI_SymmetryDlg.h
124 SMESHGUI_DuplicateNodesDlg.h
126 SMESHGUI_CreatePolyhedralVolumeDlg.h
128 SMESHGUI_SelectionOp.h
132 SMESHGUI_Hypotheses.h
133 SMESHGUI_ShapeByMeshDlg.h
134 SMESHGUI_AddQuadraticElementDlg.h
135 SMESHGUI_ConvToQuadDlg.h
136 SMESHGUI_ConvToQuadOp.h
137 SMESHGUI_BuildCompoundDlg.h
138 SMESHGUI_ComputeDlg.h
139 SMESHGUI_MakeNodeAtPointDlg.h
140 SMESHGUI_MeshInfosBox.h
141 SMESHGUI_Make2DFrom3DOp.h
142 SMESHGUI_FindElemByPointDlg.h
143 SMESHGUI_MeshOrderDlg.h
144 SMESHGUI_CopyMeshDlg.h
145 SMESHGUI_MeshOrderOp.h
146 SMESHGUI_PreviewDlg.h
147 SMESHGUI_ReorientFacesDlg.h
148 SMESHGUI_PropertiesDlg.h
149 SMESHGUI_Add0DElemsOnAllNodesDlg.h
150 SMESHGUI_FieldSelectorWdg.h
151 SMESHGUI_DisplayEntitiesDlg.h
152 SMESHGUI_SplitBiQuad.h
154 SMESHGUI_PreVisualObj.h
156 SMESHGUI_MG_ADAPTDRIVER.h
157 MG_ADAPTGUI.hxx # to replace in ../ADAPTGUI/
160 # header files / no moc processing
162 SMESHGUI_Operations.h
164 SMESHGUI_HypothesesUtils.h
168 SMESHGUI_GEOMGenUtils.h
170 SMESHGUI_FilterUtils.h
171 SMESHGUI_PatternUtils.h
172 SMESHGUI_GroupUtils.h
173 SMESHGUI_XmlHandler.h
175 SMESHGUI_MeshEditPreview.h
176 SMESHGUI_IdValidator.h
177 SMESHGUI_FileValidator.h
178 SMESHGUI_SelectionProxy.h
180 MG_ADAPT.hxx # to replace in ../ADAPT/
183 # header files / to install
184 SET(SMESH_HEADERS ${_moc_HEADERS} ${_other_HEADERS})
188 # sources / moc wrappings
189 QT_WRAP_MOC(_moc_SOURCES ${_moc_HEADERS})
194 SMESHGUI_PatternWidget.cxx
195 SMESHGUI_MeshPatternDlg.cxx
196 SMESHGUI_CreatePatternDlg.cxx
197 SMESHGUI_NodesDlg.cxx
199 SMESHGUI_TransparencyDlg.cxx
200 SMESHGUI_ClippingDlg.cxx
201 SMESHGUI_GroupDlg.cxx
202 SMESHGUI_RemoveNodesDlg.cxx
203 SMESHGUI_RemoveElementsDlg.cxx
204 SMESHGUI_SelectionProxy.cxx
205 SMESHGUI_MeshInfo.cxx
206 SMESHGUI_Measurements.cxx
207 SMESHGUI_Preferences_ScalarBarDlg.cxx
208 SMESHGUI_AddMeshElementDlg.cxx
209 SMESHGUI_FilterDlg.cxx
210 SMESHGUI_FilterLibraryDlg.cxx
211 SMESHGUI_SingleEditDlg.cxx
212 SMESHGUI_MultiEditDlg.cxx
213 SMESHGUI_DeleteGroupDlg.cxx
214 SMESHGUI_GroupOpDlg.cxx
215 SMESHGUI_FaceGroupsSeparatedByEdgesDlg.cxx
216 SMESHGUI_SmoothingDlg.cxx
217 SMESHGUI_RenumberingDlg.cxx
218 SMESHGUI_ExtrusionDlg.cxx
219 SMESHGUI_ExtrusionAlongPathDlg.cxx
220 SMESHGUI_RevolutionDlg.cxx
221 SMESHGUI_RotationDlg.cxx
222 SMESHGUI_TranslationDlg.cxx
223 SMESHGUI_ScaleDlg.cxx
224 SMESHGUI_OffsetDlg.cxx
225 SMESHGUI_SymmetryDlg.cxx
226 SMESHGUI_SewingDlg.cxx
227 SMESHGUI_DuplicateNodesDlg.cxx
228 SMESHGUI_MergeDlg.cxx
229 SMESHGUI_CreatePolyhedralVolumeDlg.cxx
230 SMESHGUI_Operation.cxx
231 SMESHGUI_SelectionOp.cxx
235 SMESHGUI_Hypotheses.cxx
236 SMESHGUI_ShapeByMeshDlg.cxx
237 SMESHGUI_AddQuadraticElementDlg.cxx
238 SMESHGUI_ConvToQuadDlg.cxx
239 SMESHGUI_ConvToQuadOp.cxx
240 SMESHGUI_BuildCompoundDlg.cxx
241 SMESHGUI_ComputeDlg.cxx
242 SMESHGUI_MakeNodeAtPointDlg.cxx
243 SMESHGUI_GroupOnShapeDlg.cxx
244 SMESHGUI_FileInfoDlg.cxx
245 SMESHGUI_MeshInfosBox.cxx
246 SMESHGUI_Make2DFrom3DOp.cxx
247 SMESHGUI_FindElemByPointDlg.cxx
248 SMESHGUI_MeshOrderDlg.cxx
249 SMESHGUI_CopyMeshDlg.cxx
250 SMESHGUI_MeshOrderOp.cxx
251 SMESHGUI_PreviewDlg.cxx
252 SMESHGUI_ReorientFacesDlg.cxx
253 SMESHGUI_PropertiesDlg.cxx
254 SMESHGUI_Add0DElemsOnAllNodesDlg.cxx
256 SMESHGUI_HypothesesUtils.cxx
257 SMESHGUI_Selection.cxx
258 SMESHGUI_VTKUtils.cxx
259 SMESHGUI_Displayer.cxx
260 SMESHGUI_GEOMGenUtils.cxx
261 SMESHGUI_MeshUtils.cxx
262 SMESHGUI_FilterUtils.cxx
263 SMESHGUI_PatternUtils.cxx
264 SMESHGUI_GroupUtils.cxx
265 SMESHGUI_XmlHandler.cxx
267 SMESHGUI_MeshEditPreview.cxx
268 SMESHGUI_FileValidator.cxx
269 SMESHGUI_FieldSelectorWdg.cxx
270 SMESHGUI_DisplayEntitiesDlg.cxx
271 SMESHGUI_SplitBiQuad.cxx
272 SMESHGUI_PreVisualObj.cxx
273 SMESHGUI_IdPreview.cxx
274 SMESHGUI_AdaptDlg.cxx
275 SMESHGUI_MG_ADAPTDRIVER.cxx
276 MG_ADAPTGUI.cxx # to replace in ../ADAPTGUI/
277 MG_ADAPT.cxx # to replace in ../ADAPT/
280 # sources / to compile
281 SET(SMESH_SOURCES ${_other_SOURCES} ${_moc_SOURCES})
285 # resource files / to be processed by lrelease
295 ADD_LIBRARY(SMESH ${SMESH_SOURCES})
296 TARGET_LINK_LIBRARIES(SMESH ${_link_LIBRARIES} )
297 INSTALL(TARGETS SMESH EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
299 INSTALL(FILES ${SMESH_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})
301 QT_INSTALL_TS_RESOURCES("${_ts_RESOURCES}" "${SALOME_SMESH_INSTALL_RES_DATA}")