1 # Copyright (C) 2012-2019 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
28 ${OpenCASCADE_INCLUDE_DIR}
29 ${PYTHON_INCLUDE_DIRS}
30 ${KERNEL_INCLUDE_DIRS}
34 ${MEDFILE_INCLUDE_DIRS}
36 ${OMNIORB_INCLUDE_DIR}
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
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}
81 # header files / to be processed by moc
84 SMESHGUI_PatternWidget.h
85 SMESHGUI_MeshPatternDlg.h
86 SMESHGUI_CreatePatternDlg.h
89 SMESHGUI_TransparencyDlg.h
90 SMESHGUI_ClippingDlg.h
92 SMESHGUI_RemoveNodesDlg.h
93 SMESHGUI_RemoveElementsDlg.h
95 SMESHGUI_Measurements.h
96 SMESHGUI_Preferences_ScalarBarDlg.h
97 SMESHGUI_AddMeshElementDlg.h
98 SMESHGUI_GroupOnShapeDlg.h
99 SMESHGUI_FileInfoDlg.h
101 SMESHGUI_FilterLibraryDlg.h
102 SMESHGUI_SingleEditDlg.h
103 SMESHGUI_MultiEditDlg.h
104 SMESHGUI_DeleteGroupDlg.h
105 SMESHGUI_GroupOpDlg.h
106 SMESHGUI_FaceGroupsSeparatedByEdgesDlg.h
107 SMESHGUI_SmoothingDlg.h
108 SMESHGUI_RenumberingDlg.h
109 SMESHGUI_ExtrusionDlg.h
110 SMESHGUI_ExtrusionAlongPathDlg.h
111 SMESHGUI_RevolutionDlg.h
112 SMESHGUI_RotationDlg.h
113 SMESHGUI_TranslationDlg.h
116 SMESHGUI_SymmetryDlg.h
118 SMESHGUI_DuplicateNodesDlg.h
120 SMESHGUI_CreatePolyhedralVolumeDlg.h
122 SMESHGUI_SelectionOp.h
126 SMESHGUI_Hypotheses.h
127 SMESHGUI_ShapeByMeshDlg.h
128 SMESHGUI_AddQuadraticElementDlg.h
129 SMESHGUI_ConvToQuadDlg.h
130 SMESHGUI_ConvToQuadOp.h
131 SMESHGUI_BuildCompoundDlg.h
132 SMESHGUI_ComputeDlg.h
133 SMESHGUI_MakeNodeAtPointDlg.h
134 SMESHGUI_MeshInfosBox.h
135 SMESHGUI_Make2DFrom3DOp.h
136 SMESHGUI_FindElemByPointDlg.h
137 SMESHGUI_MeshOrderDlg.h
138 SMESHGUI_CopyMeshDlg.h
139 SMESHGUI_MeshOrderOp.h
140 SMESHGUI_PreviewDlg.h
141 SMESHGUI_ReorientFacesDlg.h
142 SMESHGUI_PropertiesDlg.h
143 SMESHGUI_Add0DElemsOnAllNodesDlg.h
144 SMESHGUI_FieldSelectorWdg.h
145 SMESHGUI_DisplayEntitiesDlg.h
146 SMESHGUI_SplitBiQuad.h
148 SMESHGUI_PreVisualObj.h
151 # header files / no moc processing
153 SMESHGUI_Operations.h
155 SMESHGUI_HypothesesUtils.h
159 SMESHGUI_GEOMGenUtils.h
161 SMESHGUI_FilterUtils.h
162 SMESHGUI_PatternUtils.h
163 SMESHGUI_GroupUtils.h
164 SMESHGUI_XmlHandler.h
166 SMESHGUI_MeshEditPreview.h
167 SMESHGUI_IdValidator.h
168 SMESHGUI_FileValidator.h
169 SMESHGUI_SelectionProxy.h
173 # header files / to install
174 SET(SMESH_HEADERS ${_moc_HEADERS} ${_other_HEADERS})
178 # sources / moc wrappings
179 QT_WRAP_MOC(_moc_SOURCES ${_moc_HEADERS})
184 SMESHGUI_PatternWidget.cxx
185 SMESHGUI_MeshPatternDlg.cxx
186 SMESHGUI_CreatePatternDlg.cxx
187 SMESHGUI_NodesDlg.cxx
189 SMESHGUI_TransparencyDlg.cxx
190 SMESHGUI_ClippingDlg.cxx
191 SMESHGUI_GroupDlg.cxx
192 SMESHGUI_RemoveNodesDlg.cxx
193 SMESHGUI_RemoveElementsDlg.cxx
194 SMESHGUI_SelectionProxy.cxx
195 SMESHGUI_MeshInfo.cxx
196 SMESHGUI_Measurements.cxx
197 SMESHGUI_Preferences_ScalarBarDlg.cxx
198 SMESHGUI_AddMeshElementDlg.cxx
199 SMESHGUI_FilterDlg.cxx
200 SMESHGUI_FilterLibraryDlg.cxx
201 SMESHGUI_SingleEditDlg.cxx
202 SMESHGUI_MultiEditDlg.cxx
203 SMESHGUI_DeleteGroupDlg.cxx
204 SMESHGUI_GroupOpDlg.cxx
205 SMESHGUI_FaceGroupsSeparatedByEdgesDlg.cxx
206 SMESHGUI_SmoothingDlg.cxx
207 SMESHGUI_RenumberingDlg.cxx
208 SMESHGUI_ExtrusionDlg.cxx
209 SMESHGUI_ExtrusionAlongPathDlg.cxx
210 SMESHGUI_RevolutionDlg.cxx
211 SMESHGUI_RotationDlg.cxx
212 SMESHGUI_TranslationDlg.cxx
213 SMESHGUI_ScaleDlg.cxx
214 SMESHGUI_OffsetDlg.cxx
215 SMESHGUI_SymmetryDlg.cxx
216 SMESHGUI_SewingDlg.cxx
217 SMESHGUI_DuplicateNodesDlg.cxx
218 SMESHGUI_MergeDlg.cxx
219 SMESHGUI_CreatePolyhedralVolumeDlg.cxx
220 SMESHGUI_Operation.cxx
221 SMESHGUI_SelectionOp.cxx
225 SMESHGUI_Hypotheses.cxx
226 SMESHGUI_ShapeByMeshDlg.cxx
227 SMESHGUI_AddQuadraticElementDlg.cxx
228 SMESHGUI_ConvToQuadDlg.cxx
229 SMESHGUI_ConvToQuadOp.cxx
230 SMESHGUI_BuildCompoundDlg.cxx
231 SMESHGUI_ComputeDlg.cxx
232 SMESHGUI_MakeNodeAtPointDlg.cxx
233 SMESHGUI_GroupOnShapeDlg.cxx
234 SMESHGUI_FileInfoDlg.cxx
235 SMESHGUI_MeshInfosBox.cxx
236 SMESHGUI_Make2DFrom3DOp.cxx
237 SMESHGUI_FindElemByPointDlg.cxx
238 SMESHGUI_MeshOrderDlg.cxx
239 SMESHGUI_CopyMeshDlg.cxx
240 SMESHGUI_MeshOrderOp.cxx
241 SMESHGUI_PreviewDlg.cxx
242 SMESHGUI_ReorientFacesDlg.cxx
243 SMESHGUI_PropertiesDlg.cxx
244 SMESHGUI_Add0DElemsOnAllNodesDlg.cxx
246 SMESHGUI_HypothesesUtils.cxx
247 SMESHGUI_Selection.cxx
248 SMESHGUI_VTKUtils.cxx
249 SMESHGUI_Displayer.cxx
250 SMESHGUI_GEOMGenUtils.cxx
251 SMESHGUI_MeshUtils.cxx
252 SMESHGUI_FilterUtils.cxx
253 SMESHGUI_PatternUtils.cxx
254 SMESHGUI_GroupUtils.cxx
255 SMESHGUI_XmlHandler.cxx
257 SMESHGUI_MeshEditPreview.cxx
258 SMESHGUI_FileValidator.cxx
259 SMESHGUI_FieldSelectorWdg.cxx
260 SMESHGUI_DisplayEntitiesDlg.cxx
261 SMESHGUI_SplitBiQuad.cxx
262 SMESHGUI_PreVisualObj.cxx
263 SMESHGUI_IdPreview.cxx
266 # sources / to compile
267 SET(SMESH_SOURCES ${_other_SOURCES} ${_moc_SOURCES})
271 # resource files / to be processed by lrelease
281 ADD_LIBRARY(SMESH ${SMESH_SOURCES})
282 TARGET_LINK_LIBRARIES(SMESH ${_link_LIBRARIES} )
283 INSTALL(TARGETS SMESH EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
285 INSTALL(FILES ${SMESH_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})
287 QT_INSTALL_TS_RESOURCES("${_ts_RESOURCES}" "${SALOME_SMESH_INSTALL_RES_DATA}")