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/SMESH_I
47 ${PROJECT_BINARY_DIR}/idl
50 # additional preprocessor / compiler flags
52 ${OpenCASCADE_DEFINITIONS}
54 ${OMNIORB_DEFINITIONS}
57 # To avoid GetObject macro definition on WIN32
59 ADD_DEFINITIONS(-DNOGDI)
62 # libraries to link to
64 ${OpenCASCADE_Visualization_LIBRARIES}
71 ${GEOM_GEOMFiltersSelection}
82 # header files / to be processed by moc
85 SMESHGUI_PatternWidget.h
86 SMESHGUI_MeshPatternDlg.h
87 SMESHGUI_CreatePatternDlg.h
90 SMESHGUI_TransparencyDlg.h
91 SMESHGUI_ClippingDlg.h
93 SMESHGUI_RemoveNodesDlg.h
94 SMESHGUI_RemoveElementsDlg.h
96 SMESHGUI_Measurements.h
97 SMESHGUI_Preferences_ScalarBarDlg.h
98 SMESHGUI_AddMeshElementDlg.h
99 SMESHGUI_GroupOnShapeDlg.h
100 SMESHGUI_FileInfoDlg.h
102 SMESHGUI_FilterLibraryDlg.h
103 SMESHGUI_SingleEditDlg.h
104 SMESHGUI_MultiEditDlg.h
105 SMESHGUI_DeleteGroupDlg.h
106 SMESHGUI_GroupOpDlg.h
107 SMESHGUI_FaceGroupsSeparatedByEdgesDlg.h
108 SMESHGUI_SmoothingDlg.h
109 SMESHGUI_RenumberingDlg.h
110 SMESHGUI_ExtrusionDlg.h
111 SMESHGUI_ExtrusionAlongPathDlg.h
112 SMESHGUI_RevolutionDlg.h
113 SMESHGUI_RotationDlg.h
114 SMESHGUI_TranslationDlg.h
117 SMESHGUI_SymmetryDlg.h
119 SMESHGUI_DuplicateNodesDlg.h
121 SMESHGUI_CreatePolyhedralVolumeDlg.h
123 SMESHGUI_SelectionOp.h
127 SMESHGUI_Hypotheses.h
128 SMESHGUI_ShapeByMeshDlg.h
129 SMESHGUI_AddQuadraticElementDlg.h
130 SMESHGUI_ConvToQuadDlg.h
131 SMESHGUI_ConvToQuadOp.h
132 SMESHGUI_BuildCompoundDlg.h
133 SMESHGUI_ComputeDlg.h
134 SMESHGUI_MakeNodeAtPointDlg.h
135 SMESHGUI_MeshInfosBox.h
136 SMESHGUI_Make2DFrom3DOp.h
137 SMESHGUI_FindElemByPointDlg.h
138 SMESHGUI_MeshOrderDlg.h
139 SMESHGUI_CopyMeshDlg.h
140 SMESHGUI_MeshOrderOp.h
141 SMESHGUI_PreviewDlg.h
142 SMESHGUI_ReorientFacesDlg.h
143 SMESHGUI_PropertiesDlg.h
144 SMESHGUI_Add0DElemsOnAllNodesDlg.h
145 SMESHGUI_FieldSelectorWdg.h
146 SMESHGUI_DisplayEntitiesDlg.h
147 SMESHGUI_SplitBiQuad.h
149 SMESHGUI_PreVisualObj.h
152 # header files / no moc processing
154 SMESHGUI_Operations.h
156 SMESHGUI_HypothesesUtils.h
160 SMESHGUI_GEOMGenUtils.h
162 SMESHGUI_FilterUtils.h
163 SMESHGUI_PatternUtils.h
164 SMESHGUI_GroupUtils.h
165 SMESHGUI_XmlHandler.h
167 SMESHGUI_MeshEditPreview.h
168 SMESHGUI_IdValidator.h
169 SMESHGUI_FileValidator.h
170 SMESHGUI_SelectionProxy.h
174 # header files / to install
175 SET(SMESH_HEADERS ${_moc_HEADERS} ${_other_HEADERS})
179 # sources / moc wrappings
180 QT_WRAP_MOC(_moc_SOURCES ${_moc_HEADERS})
185 SMESHGUI_PatternWidget.cxx
186 SMESHGUI_MeshPatternDlg.cxx
187 SMESHGUI_CreatePatternDlg.cxx
188 SMESHGUI_NodesDlg.cxx
190 SMESHGUI_TransparencyDlg.cxx
191 SMESHGUI_ClippingDlg.cxx
192 SMESHGUI_GroupDlg.cxx
193 SMESHGUI_RemoveNodesDlg.cxx
194 SMESHGUI_RemoveElementsDlg.cxx
195 SMESHGUI_SelectionProxy.cxx
196 SMESHGUI_MeshInfo.cxx
197 SMESHGUI_Measurements.cxx
198 SMESHGUI_Preferences_ScalarBarDlg.cxx
199 SMESHGUI_AddMeshElementDlg.cxx
200 SMESHGUI_FilterDlg.cxx
201 SMESHGUI_FilterLibraryDlg.cxx
202 SMESHGUI_SingleEditDlg.cxx
203 SMESHGUI_MultiEditDlg.cxx
204 SMESHGUI_DeleteGroupDlg.cxx
205 SMESHGUI_GroupOpDlg.cxx
206 SMESHGUI_FaceGroupsSeparatedByEdgesDlg.cxx
207 SMESHGUI_SmoothingDlg.cxx
208 SMESHGUI_RenumberingDlg.cxx
209 SMESHGUI_ExtrusionDlg.cxx
210 SMESHGUI_ExtrusionAlongPathDlg.cxx
211 SMESHGUI_RevolutionDlg.cxx
212 SMESHGUI_RotationDlg.cxx
213 SMESHGUI_TranslationDlg.cxx
214 SMESHGUI_ScaleDlg.cxx
215 SMESHGUI_OffsetDlg.cxx
216 SMESHGUI_SymmetryDlg.cxx
217 SMESHGUI_SewingDlg.cxx
218 SMESHGUI_DuplicateNodesDlg.cxx
219 SMESHGUI_MergeDlg.cxx
220 SMESHGUI_CreatePolyhedralVolumeDlg.cxx
221 SMESHGUI_Operation.cxx
222 SMESHGUI_SelectionOp.cxx
226 SMESHGUI_Hypotheses.cxx
227 SMESHGUI_ShapeByMeshDlg.cxx
228 SMESHGUI_AddQuadraticElementDlg.cxx
229 SMESHGUI_ConvToQuadDlg.cxx
230 SMESHGUI_ConvToQuadOp.cxx
231 SMESHGUI_BuildCompoundDlg.cxx
232 SMESHGUI_ComputeDlg.cxx
233 SMESHGUI_MakeNodeAtPointDlg.cxx
234 SMESHGUI_GroupOnShapeDlg.cxx
235 SMESHGUI_FileInfoDlg.cxx
236 SMESHGUI_MeshInfosBox.cxx
237 SMESHGUI_Make2DFrom3DOp.cxx
238 SMESHGUI_FindElemByPointDlg.cxx
239 SMESHGUI_MeshOrderDlg.cxx
240 SMESHGUI_CopyMeshDlg.cxx
241 SMESHGUI_MeshOrderOp.cxx
242 SMESHGUI_PreviewDlg.cxx
243 SMESHGUI_ReorientFacesDlg.cxx
244 SMESHGUI_PropertiesDlg.cxx
245 SMESHGUI_Add0DElemsOnAllNodesDlg.cxx
247 SMESHGUI_HypothesesUtils.cxx
248 SMESHGUI_Selection.cxx
249 SMESHGUI_VTKUtils.cxx
250 SMESHGUI_Displayer.cxx
251 SMESHGUI_GEOMGenUtils.cxx
252 SMESHGUI_MeshUtils.cxx
253 SMESHGUI_FilterUtils.cxx
254 SMESHGUI_PatternUtils.cxx
255 SMESHGUI_GroupUtils.cxx
256 SMESHGUI_XmlHandler.cxx
258 SMESHGUI_MeshEditPreview.cxx
259 SMESHGUI_FileValidator.cxx
260 SMESHGUI_FieldSelectorWdg.cxx
261 SMESHGUI_DisplayEntitiesDlg.cxx
262 SMESHGUI_SplitBiQuad.cxx
263 SMESHGUI_PreVisualObj.cxx
264 SMESHGUI_IdPreview.cxx
267 # sources / to compile
268 SET(SMESH_SOURCES ${_other_SOURCES} ${_moc_SOURCES})
272 # resource files / to be processed by lrelease
282 ADD_LIBRARY(SMESH ${SMESH_SOURCES})
283 TARGET_LINK_LIBRARIES(SMESH ${_link_LIBRARIES} )
284 INSTALL(TARGETS SMESH EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
286 INSTALL(FILES ${SMESH_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})
288 QT_INSTALL_TS_RESOURCES("${_ts_RESOURCES}" "${SALOME_SMESH_INSTALL_RES_DATA}")