1 # Copyright (C) 2012-2024 CEA, EDF, 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 ${MEDCOUPLING_INCLUDE_DIRS}
38 ${PROJECT_SOURCE_DIR}/src/OBJECT
39 ${PROJECT_SOURCE_DIR}/src/SMESHFiltersSelection
40 ${PROJECT_SOURCE_DIR}/src/SMDS
41 ${PROJECT_SOURCE_DIR}/src/SMESHDS
42 ${PROJECT_SOURCE_DIR}/src/SMESHUtils
43 ${PROJECT_SOURCE_DIR}/src/Controls
44 ${PROJECT_SOURCE_DIR}/src/SMESHClient
45 ${PROJECT_SOURCE_DIR}/src/MEDWrapper
46 ${PROJECT_SOURCE_DIR}/src/SMESH_I
47 ${PROJECT_SOURCE_DIR}/src/SMESH
49 ${PROJECT_BINARY_DIR}/idl
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}
84 # header files / to be processed by moc
87 SMESHGUI_PatternWidget.h
88 SMESHGUI_MeshPatternDlg.h
89 SMESHGUI_CreatePatternDlg.h
92 SMESHGUI_TransparencyDlg.h
93 SMESHGUI_ClippingDlg.h
95 SMESHGUI_RemoveNodesDlg.h
96 SMESHGUI_RemoveElementsDlg.h
98 SMESHGUI_Measurements.h
99 SMESHGUI_Preferences_ScalarBarDlg.h
100 SMESHGUI_AddMeshElementDlg.h
101 SMESHGUI_GroupOnShapeDlg.h
102 SMESHGUI_FileInfoDlg.h
104 SMESHGUI_FilterLibraryDlg.h
105 SMESHGUI_SingleEditDlg.h
106 SMESHGUI_MultiEditDlg.h
107 SMESHGUI_DeleteGroupDlg.h
108 SMESHGUI_GroupOpDlg.h
109 SMESHGUI_FaceGroupsSeparatedByEdgesDlg.h
110 SMESHGUI_SmoothingDlg.h
111 SMESHGUI_RenumberingDlg.h
112 SMESHGUI_ExtrusionDlg.h
113 SMESHGUI_ExtrusionAlongPathDlg.h
114 SMESHGUI_RevolutionDlg.h
115 SMESHGUI_RotationDlg.h
116 SMESHGUI_TranslationDlg.h
119 SMESHGUI_SymmetryDlg.h
121 SMESHGUI_DuplicateNodesDlg.h
123 SMESHGUI_CreatePolyhedralVolumeDlg.h
125 SMESHGUI_SelectionOp.h
129 SMESHGUI_Hypotheses.h
130 SMESHGUI_ShapeByMeshDlg.h
131 SMESHGUI_AddQuadraticElementDlg.h
132 SMESHGUI_ConvToQuadDlg.h
133 SMESHGUI_ConvToQuadOp.h
134 SMESHGUI_BuildCompoundDlg.h
135 SMESHGUI_ComputeDlg.h
136 SMESHGUI_MakeNodeAtPointDlg.h
137 SMESHGUI_MeshInfosBox.h
138 SMESHGUI_Make2DFrom3DOp.h
139 SMESHGUI_MakeFull2DFrom3DOp.h
140 SMESHGUI_FindElemByPointDlg.h
141 SMESHGUI_MeshOrderDlg.h
142 SMESHGUI_CopyMeshDlg.h
143 SMESHGUI_MeshOrderOp.h
144 SMESHGUI_PreviewDlg.h
145 SMESHGUI_ReorientFacesDlg.h
146 SMESHGUI_PropertiesDlg.h
147 SMESHGUI_Add0DElemsOnAllNodesDlg.h
148 SMESHGUI_FieldSelectorWdg.h
149 SMESHGUI_DisplayEntitiesDlg.h
150 SMESHGUI_SplitBiQuad.h
152 SMESHGUI_PreVisualObj.h
153 SMESHGUI_MG_ADAPTDRIVER.h
154 SMESHGUI_MgAdaptDlg.h
155 SMESHGUI_HomardAdaptDlg.h
156 SMESHGUI_HomardBoundaryDlg.h
157 SMESHGUI_HomardListGroup.h
158 SMESHGUI_RemoveNodeReconnectionDlg.h
159 SMESHGUI_AddNodeOnSegmentDlg.h
160 SMESHGUI_AddNodeOnFaceDlg.h
161 SMESHGUI_InteractiveOp.h
162 SMESHGUI_CreateDualMeshDlg.h
163 SMESHGUI_CreateDualMeshOp.h
167 # header files / no moc processing
169 SMESHGUI_Operations.h
171 SMESHGUI_HypothesesUtils.h
175 SMESHGUI_GEOMGenUtils.h
177 SMESHGUI_FilterUtils.h
178 SMESHGUI_PatternUtils.h
179 SMESHGUI_GroupUtils.h
180 SMESHGUI_XmlHandler.h
182 SMESHGUI_MeshEditPreview.h
183 SMESHGUI_IdValidator.h
184 SMESHGUI_FileValidator.h
185 SMESHGUI_SelectionProxy.h
187 SMESHGUI_HomardUtils.h
190 # header files / to install
191 SET(SMESH_HEADERS ${_moc_HEADERS} ${_other_HEADERS})
195 # sources / moc wrappings
196 QT_WRAP_MOC(_moc_SOURCES ${_moc_HEADERS})
201 SMESHGUI_PatternWidget.cxx
202 SMESHGUI_MeshPatternDlg.cxx
203 SMESHGUI_CreatePatternDlg.cxx
204 SMESHGUI_NodesDlg.cxx
206 SMESHGUI_TransparencyDlg.cxx
207 SMESHGUI_ClippingDlg.cxx
208 SMESHGUI_GroupDlg.cxx
209 SMESHGUI_RemoveNodesDlg.cxx
210 SMESHGUI_RemoveElementsDlg.cxx
211 SMESHGUI_SelectionProxy.cxx
212 SMESHGUI_MeshInfo.cxx
213 SMESHGUI_Measurements.cxx
214 SMESHGUI_Preferences_ScalarBarDlg.cxx
215 SMESHGUI_AddMeshElementDlg.cxx
216 SMESHGUI_FilterDlg.cxx
217 SMESHGUI_FilterLibraryDlg.cxx
218 SMESHGUI_SingleEditDlg.cxx
219 SMESHGUI_MultiEditDlg.cxx
220 SMESHGUI_DeleteGroupDlg.cxx
221 SMESHGUI_GroupOpDlg.cxx
222 SMESHGUI_FaceGroupsSeparatedByEdgesDlg.cxx
223 SMESHGUI_SmoothingDlg.cxx
224 SMESHGUI_RenumberingDlg.cxx
225 SMESHGUI_ExtrusionDlg.cxx
226 SMESHGUI_ExtrusionAlongPathDlg.cxx
227 SMESHGUI_RevolutionDlg.cxx
228 SMESHGUI_RotationDlg.cxx
229 SMESHGUI_TranslationDlg.cxx
230 SMESHGUI_ScaleDlg.cxx
231 SMESHGUI_OffsetDlg.cxx
232 SMESHGUI_SymmetryDlg.cxx
233 SMESHGUI_SewingDlg.cxx
234 SMESHGUI_DuplicateNodesDlg.cxx
235 SMESHGUI_MergeDlg.cxx
236 SMESHGUI_CreatePolyhedralVolumeDlg.cxx
237 SMESHGUI_Operation.cxx
238 SMESHGUI_SelectionOp.cxx
242 SMESHGUI_Hypotheses.cxx
243 SMESHGUI_ShapeByMeshDlg.cxx
244 SMESHGUI_AddQuadraticElementDlg.cxx
245 SMESHGUI_ConvToQuadDlg.cxx
246 SMESHGUI_ConvToQuadOp.cxx
247 SMESHGUI_BuildCompoundDlg.cxx
248 SMESHGUI_ComputeDlg.cxx
249 SMESHGUI_MakeNodeAtPointDlg.cxx
250 SMESHGUI_GroupOnShapeDlg.cxx
251 SMESHGUI_FileInfoDlg.cxx
252 SMESHGUI_MeshInfosBox.cxx
253 SMESHGUI_Make2DFrom3DOp.cxx
254 SMESHGUI_MakeFull2DFrom3DOp.cxx
255 SMESHGUI_FindElemByPointDlg.cxx
256 SMESHGUI_MeshOrderDlg.cxx
257 SMESHGUI_CopyMeshDlg.cxx
258 SMESHGUI_MeshOrderOp.cxx
259 SMESHGUI_PreviewDlg.cxx
260 SMESHGUI_ReorientFacesDlg.cxx
261 SMESHGUI_PropertiesDlg.cxx
262 SMESHGUI_Add0DElemsOnAllNodesDlg.cxx
264 SMESHGUI_HypothesesUtils.cxx
265 SMESHGUI_Selection.cxx
266 SMESHGUI_VTKUtils.cxx
267 SMESHGUI_Displayer.cxx
268 SMESHGUI_GEOMGenUtils.cxx
269 SMESHGUI_MeshUtils.cxx
270 SMESHGUI_FilterUtils.cxx
271 SMESHGUI_PatternUtils.cxx
272 SMESHGUI_GroupUtils.cxx
273 SMESHGUI_XmlHandler.cxx
275 SMESHGUI_MeshEditPreview.cxx
276 SMESHGUI_FileValidator.cxx
277 SMESHGUI_FieldSelectorWdg.cxx
278 SMESHGUI_DisplayEntitiesDlg.cxx
279 SMESHGUI_SplitBiQuad.cxx
280 SMESHGUI_PreVisualObj.cxx
281 SMESHGUI_IdPreview.cxx
282 SMESHGUI_MG_ADAPTDRIVER.cxx
283 SMESHGUI_MgAdaptDlg.cxx
284 SMESHGUI_HomardUtils.cxx
285 SMESHGUI_HomardAdaptDlg.cxx
286 SMESHGUI_HomardBoundaryDlg.cxx
287 SMESHGUI_HomardListGroup.cxx
288 SMESHGUI_RemoveNodeReconnectionDlg.cxx
289 SMESHGUI_AddNodeOnSegmentDlg.cxx
290 SMESHGUI_AddNodeOnFaceDlg.cxx
291 SMESHGUI_InteractiveOp.cxx
292 SMESHGUI_CreateDualMeshDlg.cxx
293 SMESHGUI_CreateDualMeshOp.cxx
297 # sources / to compile
298 SET(SMESH_SOURCES ${_other_SOURCES} ${_moc_SOURCES})
302 # resource files / to be processed by lrelease
308 SMESHGUI_Homard_msg_en.ts
309 SMESHGUI_Homard_msg_fr.ts
310 SMESHGUI_Homard_msg_ja.ts
315 ADD_LIBRARY(SMESH ${SMESH_SOURCES})
316 TARGET_LINK_LIBRARIES(SMESH ${_link_LIBRARIES} )
317 INSTALL(TARGETS SMESH EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
319 INSTALL(FILES ${SMESH_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})
321 QT_INSTALL_TS_RESOURCES("${_ts_RESOURCES}" "${SALOME_SMESH_INSTALL_RES_DATA}")