1 # Copyright (C) 2012-2021 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
26 ${OpenCASCADE_INCLUDE_DIR}
27 ${PYTHON_INCLUDE_DIRS}
28 ${KERNEL_INCLUDE_DIRS}
31 ${MEDFILE_INCLUDE_DIRS}
34 ${OMNIORB_INCLUDE_DIR}
35 ${MEDCOUPLING_INCLUDE_DIRS}
36 ${PROJECT_SOURCE_DIR}/src/SMESH
37 ${PROJECT_SOURCE_DIR}/src/SMESHUtils
38 ${PROJECT_SOURCE_DIR}/src/SMESH_I
39 ${PROJECT_SOURCE_DIR}/src/SMESHDS
40 ${PROJECT_SOURCE_DIR}/src/SMDS
41 ${PROJECT_SOURCE_DIR}/src/SMESHGUI
42 ${PROJECT_SOURCE_DIR}/src/Controls
43 ${PROJECT_SOURCE_DIR}/src/StdMeshers
44 ${PROJECT_SOURCE_DIR}/src/OBJECT
45 ${PROJECT_SOURCE_DIR}/src/SMESHFiltersSelection
46 ${PROJECT_BINARY_DIR}/idl
49 # additional preprocessor / compiler flags
51 ${OpenCASCADE_DEFINITIONS}
53 ${OMNIORB_DEFINITIONS}
57 # libraries to link to
59 ${OpenCASCADE_FoundationClasses_LIBRARIES}
60 ${OpenCASCADE_ModelingAlgorithms_LIBRARIES}
71 # header files / to be processed by moc
73 StdMeshersGUI_StdHypothesisCreator.h
74 StdMeshersGUI_DistrTable.h
75 StdMeshersGUI_NbSegmentsCreator.h
76 StdMeshersGUI_ObjectReferenceParamWdg.h
77 StdMeshersGUI_QuadrangleParamWdg.h
78 StdMeshersGUI_LayerDistributionParamWdg.h
79 StdMeshersGUI_FixedPointsParamWdg.h
80 StdMeshersGUI_SubShapeSelectorWdg.h
81 StdMeshersGUI_CartesianParamCreator.h
82 StdMeshersGUI_RadioButtonsGrpWdg.h
83 StdMeshersGUI_PropagationHelperWdg.h
84 StdMeshersGUI_NameCheckableGrpWdg.h
85 StdMeshersGUI_BlockRenumberCreator.h
88 IF(SALOME_USE_PLOT2DVIEWER)
89 LIST(APPEND _moc_HEADERS
90 StdMeshersGUI_DistrPreview.h
94 # header files / no moc processing
96 SMESH_StdMeshersGUI.hxx
99 # header files / to install
100 SET(StdMeshersGUI_HEADERS ${_moc_HEADERS} ${_other_HEADERS})
104 # sources / moc wrappings
105 QT_WRAP_MOC(_moc_SOURCES ${_moc_HEADERS})
110 StdMeshersGUI_StdHypothesisCreator.cxx
111 StdMeshersGUI_DistrTable.cxx
112 StdMeshersGUI_NbSegmentsCreator.cxx
113 StdMeshersGUI_ObjectReferenceParamWdg.cxx
114 StdMeshersGUI_QuadrangleParamWdg.cxx
115 StdMeshersGUI_LayerDistributionParamWdg.cxx
116 StdMeshersGUI_FixedPointsParamWdg.cxx
117 StdMeshersGUI_SubShapeSelectorWdg.cxx
118 StdMeshersGUI_CartesianParamCreator.cxx
119 StdMeshersGUI_RadioButtonsGrpWdg.cxx
120 StdMeshersGUI_PropagationHelperWdg.cxx
121 StdMeshersGUI_NameCheckableGrpWdg.cxx
122 StdMeshersGUI_BlockRenumberCreator.cxx
125 IF(SALOME_USE_PLOT2DVIEWER)
126 LIST(APPEND _other_SOURCES
127 StdMeshersGUI_DistrPreview.cxx
131 # sources / to compile
132 SET(StdMeshersGUI_SOURCES ${_other_SOURCES} ${_moc_SOURCES})
136 # resource files / to be processed by lrelease
146 ADD_LIBRARY(StdMeshersGUI ${StdMeshersGUI_SOURCES})
147 TARGET_LINK_LIBRARIES(StdMeshersGUI ${_link_LIBRARIES} )
148 INSTALL(TARGETS StdMeshersGUI EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
150 INSTALL(FILES ${StdMeshersGUI_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})
151 QT_INSTALL_TS_RESOURCES("${_ts_RESOURCES}" "${SALOME_SMESH_INSTALL_RES_DATA}")