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
26 ${OpenCASCADE_INCLUDE_DIR}
27 ${PYTHON_INCLUDE_DIRS}
28 ${KERNEL_INCLUDE_DIRS}
31 ${MEDFILE_INCLUDE_DIRS}
34 ${OMNIORB_INCLUDE_DIR}
35 ${PROJECT_SOURCE_DIR}/src/SMESH
36 ${PROJECT_SOURCE_DIR}/src/SMESHUtils
37 ${PROJECT_SOURCE_DIR}/src/SMESH_I
38 ${PROJECT_SOURCE_DIR}/src/SMESHDS
39 ${PROJECT_SOURCE_DIR}/src/SMDS
40 ${PROJECT_SOURCE_DIR}/src/SMESHGUI
41 ${PROJECT_SOURCE_DIR}/src/Controls
42 ${PROJECT_SOURCE_DIR}/src/StdMeshers
43 ${PROJECT_SOURCE_DIR}/src/OBJECT
44 ${PROJECT_SOURCE_DIR}/src/SMESHFiltersSelection
45 ${PROJECT_BINARY_DIR}/idl
48 # additional preprocessor / compiler flags
50 ${OpenCASCADE_DEFINITIONS}
52 ${OMNIORB_DEFINITIONS}
56 # libraries to link to
58 ${OpenCASCADE_FoundationClasses_LIBRARIES}
59 ${OpenCASCADE_ModelingAlgorithms_LIBRARIES}
70 # header files / to be processed by moc
72 StdMeshersGUI_StdHypothesisCreator.h
73 StdMeshersGUI_DistrTable.h
74 StdMeshersGUI_NbSegmentsCreator.h
75 StdMeshersGUI_ObjectReferenceParamWdg.h
76 StdMeshersGUI_QuadrangleParamWdg.h
77 StdMeshersGUI_LayerDistributionParamWdg.h
78 StdMeshersGUI_FixedPointsParamWdg.h
79 StdMeshersGUI_SubShapeSelectorWdg.h
80 StdMeshersGUI_CartesianParamCreator.h
81 StdMeshersGUI_RadioButtonsGrpWdg.h
82 StdMeshersGUI_PropagationHelperWdg.h
83 StdMeshersGUI_NameCheckableGrpWdg.h
84 StdMeshersGUI_BlockRenumberCreator.h
87 IF(SALOME_USE_PLOT2DVIEWER)
88 LIST(APPEND _moc_HEADERS
89 StdMeshersGUI_DistrPreview.h
93 # header files / no moc processing
95 SMESH_StdMeshersGUI.hxx
98 # header files / to install
99 SET(StdMeshersGUI_HEADERS ${_moc_HEADERS} ${_other_HEADERS})
103 # sources / moc wrappings
104 QT_WRAP_MOC(_moc_SOURCES ${_moc_HEADERS})
109 StdMeshersGUI_StdHypothesisCreator.cxx
110 StdMeshersGUI_DistrTable.cxx
111 StdMeshersGUI_NbSegmentsCreator.cxx
112 StdMeshersGUI_ObjectReferenceParamWdg.cxx
113 StdMeshersGUI_QuadrangleParamWdg.cxx
114 StdMeshersGUI_LayerDistributionParamWdg.cxx
115 StdMeshersGUI_FixedPointsParamWdg.cxx
116 StdMeshersGUI_SubShapeSelectorWdg.cxx
117 StdMeshersGUI_CartesianParamCreator.cxx
118 StdMeshersGUI_RadioButtonsGrpWdg.cxx
119 StdMeshersGUI_PropagationHelperWdg.cxx
120 StdMeshersGUI_NameCheckableGrpWdg.cxx
121 StdMeshersGUI_BlockRenumberCreator.cxx
124 IF(SALOME_USE_PLOT2DVIEWER)
125 LIST(APPEND _other_SOURCES
126 StdMeshersGUI_DistrPreview.cxx
130 # sources / to compile
131 SET(StdMeshersGUI_SOURCES ${_other_SOURCES} ${_moc_SOURCES})
135 # resource files / to be processed by lrelease
145 ADD_LIBRARY(StdMeshersGUI ${StdMeshersGUI_SOURCES})
146 TARGET_LINK_LIBRARIES(StdMeshersGUI ${_link_LIBRARIES} )
147 INSTALL(TARGETS StdMeshersGUI EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
149 INSTALL(FILES ${StdMeshersGUI_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})
150 QT_INSTALL_TS_RESOURCES("${_ts_RESOURCES}" "${SALOME_SMESH_INSTALL_RES_DATA}")