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
21 # additional include directories
23 IF(SALOME_SMESH_USE_TBB)
24 SET(TBB_INCLUDES ${TBB_INCLUDE_DIRS})
25 ENDIF(SALOME_SMESH_USE_TBB)
28 ${OpenCASCADE_INCLUDE_DIR}
30 ${KERNEL_INCLUDE_DIRS}
32 ${MEDCOUPLING_INCLUDE_DIRS}
33 ${PROJECT_SOURCE_DIR}/src/SMESHUtils
34 ${PROJECT_SOURCE_DIR}/src/SMESH
35 ${PROJECT_SOURCE_DIR}/src/SMESHDS
36 ${PROJECT_SOURCE_DIR}/src/SMDS
37 ${PROJECT_SOURCE_DIR}/src/Controls
41 # additional preprocessor / compiler flags
43 ${OpenCASCADE_DEFINITIONS}
47 IF(SALOME_SMESH_USE_TBB)
48 SET(TBB_LIBS ${TBB_LIBRARIES})
49 ENDIF(SALOME_SMESH_USE_TBB)
51 # libraries to link to
53 ${KERNEL_SALOMELocalTrace}
55 ${OpenCASCADE_ModelingAlgorithms_LIBRARIES}
56 ${OpenCASCADE_ModelingData_LIBRARIES}
67 # header files / no moc processing
68 SET(StdMeshers_HEADERS
69 StdMeshers_LocalLength.hxx
70 StdMeshers_Reversible1D.hxx
71 StdMeshers_StartEndLength.hxx
72 StdMeshers_Arithmetic1D.hxx
73 StdMeshers_Geometric1D.hxx
74 StdMeshers_FixedPoints1D.hxx
75 StdMeshers_NumberOfSegments.hxx
76 StdMeshers_Deflection1D.hxx
77 StdMeshers_Propagation.hxx
78 StdMeshers_LengthFromEdges.hxx
79 StdMeshers_MaxElementArea.hxx
80 StdMeshers_MaxElementVolume.hxx
81 StdMeshers_NotConformAllowed.hxx
82 StdMeshers_Regular_1D.hxx
83 StdMeshers_Quadrangle_2D.hxx
84 StdMeshers_Hexa_3D.hxx
85 StdMeshers_Penta_3D.hxx
86 StdMeshers_AutomaticLength.hxx
87 StdMeshers_Distribution.hxx
88 StdMeshers_QuadranglePreference.hxx
89 StdMeshers_QuadraticMesh.hxx
90 StdMeshers_NumberOfLayers.hxx
91 StdMeshers_NumberOfLayers2D.hxx
92 StdMeshers_Prism_3D.hxx
93 StdMeshers_ProjectionSource1D.hxx
94 StdMeshers_ProjectionSource2D.hxx
95 StdMeshers_ProjectionSource3D.hxx
96 StdMeshers_Projection_1D.hxx
97 StdMeshers_Projection_2D.hxx
98 StdMeshers_Projection_3D.hxx
99 StdMeshers_RadialPrism_3D.hxx
100 StdMeshers_ProjectionUtils.hxx
101 StdMeshers_LayerDistribution.hxx
102 StdMeshers_LayerDistribution2D.hxx
103 StdMeshers_SegmentAroundVertex_0D.hxx
104 StdMeshers_SegmentLengthAroundVertex.hxx
105 StdMeshers_FaceSide.hxx
106 StdMeshers_CompositeSegment_1D.hxx
107 StdMeshers_UseExisting_1D2D.hxx
108 StdMeshers_QuadToTriaAdaptor.hxx
110 StdMeshers_CompositeHexa_3D.hxx
111 StdMeshers_MaxLength.hxx
112 StdMeshers_QuadrangleParams.hxx
113 StdMeshers_RadialQuadrangle_1D2D.hxx
114 StdMeshers_HexaFromSkin_3D.hxx
115 StdMeshers_ImportSource.hxx
116 StdMeshers_Import_1D.hxx
117 StdMeshers_Import_1D2D.hxx
118 StdMeshers_ViscousLayers.hxx
119 StdMeshers_ViscousLayers2D.hxx
120 StdMeshers_Projection_1D2D.hxx
121 StdMeshers_CartesianParameters3D.hxx
122 StdMeshers_Cartesian_3D.hxx
123 StdMeshers_Cartesian_VL.hxx
124 StdMeshers_QuadFromMedialAxis_1D2D.hxx
125 StdMeshers_PolygonPerFace_2D.hxx
126 StdMeshers_PolyhedronPerSolid_3D.hxx
127 StdMeshers_BlockRenumber.hxx
128 StdMeshers_ViscousLayerBuilder.hxx
134 SET(StdMeshers_SOURCES
135 StdMeshers_LocalLength.cxx
136 StdMeshers_Reversible1D.cxx
137 StdMeshers_StartEndLength.cxx
138 StdMeshers_Arithmetic1D.cxx
139 StdMeshers_Geometric1D.cxx
140 StdMeshers_FixedPoints1D.cxx
141 StdMeshers_NumberOfSegments.cxx
142 StdMeshers_Deflection1D.cxx
143 StdMeshers_Propagation.cxx
144 StdMeshers_LengthFromEdges.cxx
145 StdMeshers_MaxElementArea.cxx
146 StdMeshers_MaxElementVolume.cxx
147 StdMeshers_NotConformAllowed.cxx
148 StdMeshers_Regular_1D.cxx
149 StdMeshers_Quadrangle_2D.cxx
150 StdMeshers_Penta_3D.cxx
151 StdMeshers_Hexa_3D.cxx
152 StdMeshers_AutomaticLength.cxx
153 StdMeshers_Distribution.cxx
154 StdMeshers_QuadranglePreference.cxx
155 StdMeshers_QuadraticMesh.cxx
156 StdMeshers_NumberOfLayers.cxx
157 StdMeshers_NumberOfLayers2D.cxx
158 StdMeshers_Prism_3D.cxx
159 StdMeshers_ProjectionSource1D.cxx
160 StdMeshers_ProjectionSource2D.cxx
161 StdMeshers_ProjectionSource3D.cxx
162 StdMeshers_Projection_1D.cxx
163 StdMeshers_Projection_2D.cxx
164 StdMeshers_Projection_3D.cxx
165 StdMeshers_RadialPrism_3D.cxx
166 StdMeshers_ProjectionUtils.cxx
167 StdMeshers_LayerDistribution.cxx
168 StdMeshers_LayerDistribution2D.cxx
169 StdMeshers_SegmentAroundVertex_0D.cxx
170 StdMeshers_SegmentLengthAroundVertex.cxx
171 StdMeshers_FaceSide.cxx
172 StdMeshers_CompositeSegment_1D.cxx
173 StdMeshers_UseExisting_1D2D.cxx
174 StdMeshers_QuadToTriaAdaptor.cxx
175 StdMeshers_CompositeHexa_3D.cxx
176 StdMeshers_MaxLength.cxx
177 StdMeshers_QuadrangleParams.cxx
178 StdMeshers_RadialQuadrangle_1D2D.cxx
179 StdMeshers_HexaFromSkin_3D.cxx
180 StdMeshers_ImportSource.cxx
181 StdMeshers_Import_1D.cxx
182 StdMeshers_Import_1D2D.cxx
183 StdMeshers_ViscousLayers.cxx
184 StdMeshers_ViscousLayers2D.cxx
185 StdMeshers_Projection_1D2D.cxx
186 StdMeshers_CartesianParameters3D.cxx
187 StdMeshers_Cartesian_3D.cxx
188 StdMeshers_Cartesian_VL.cxx
189 StdMeshers_Adaptive1D.cxx
190 StdMeshers_QuadFromMedialAxis_1D2D.cxx
191 StdMeshers_PolygonPerFace_2D.cxx
192 StdMeshers_PolyhedronPerSolid_3D.cxx
193 StdMeshers_BlockRenumber.cxx
194 StdMeshers_ViscousLayerBuilder.cxx
199 ADD_LIBRARY(StdMeshers ${StdMeshers_SOURCES})
200 TARGET_LINK_LIBRARIES(StdMeshers ${_link_LIBRARIES} )
201 INSTALL(TARGETS StdMeshers EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
203 INSTALL(FILES ${StdMeshers_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})