1 # Copyright (C) 2012-2014 CEA/DEN, EDF R&D
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
19 # Author : Anthony Geay (CEA/DEN)
21 SET(interpkernel_SOURCES
22 TransformedTriangle.cxx
23 TransformedTriangleIntersect.cxx
24 TransformedTriangleMath.cxx
26 TranslationRotationMatrix.cxx
27 TetraAffineTransform.cxx
29 UnitTetraIntersectionBary.cxx
30 InterpolationOptions.cxx
31 BoxSplittingOptions.cxx
32 DirectedBoundingBox.cxx
33 Interpolation2DCurve.cxx
34 Interpolation3DSurf.cxx
38 InterpKernelMeshQuality.cxx
39 InterpKernelCellSimplify.cxx
40 InterpKernelMatrixTools.cxx
43 Bases/InterpKernelException.cxx
44 Geometric2D/InterpKernelGeo2DAbstractEdge.cxx
45 Geometric2D/InterpKernelGeo2DBounds.cxx
46 Geometric2D/InterpKernelGeo2DPrecision.cxx
47 Geometric2D/InterpKernelGeo2DComposedEdge.cxx
48 Geometric2D/InterpKernelGeo2DEdgeArcCircle.cxx
49 Geometric2D/InterpKernelGeo2DEdge.cxx
50 Geometric2D/InterpKernelGeo2DEdgeInfLin.cxx
51 Geometric2D/InterpKernelGeo2DEdgeLin.cxx
52 Geometric2D/InterpKernelGeo2DElementaryEdge.cxx
53 Geometric2D/InterpKernelGeo2DNode.cxx
54 Geometric2D/InterpKernelGeo2DQuadraticPolygon.cxx
55 ExprEval/InterpKernelExprParser.cxx
56 ExprEval/InterpKernelFunction.cxx
57 ExprEval/InterpKernelUnit.cxx
58 ExprEval/InterpKernelValue.cxx
59 ExprEval/InterpKernelAsmX86.cxx
60 GaussPoints/InterpKernelGaussCoords.cxx
64 ${CMAKE_CURRENT_SOURCE_DIR}
65 ${CMAKE_CURRENT_SOURCE_DIR}/Bases
66 ${CMAKE_CURRENT_SOURCE_DIR}/Geometric2D
67 ${CMAKE_CURRENT_SOURCE_DIR}/ExprEval
68 ${CMAKE_CURRENT_SOURCE_DIR}/GaussPoints
73 SET(PLATFORM_MMAP "-D_POSIX_MAPPED_FILES")
76 ADD_LIBRARY(interpkernel SHARED ${interpkernel_SOURCES})
77 SET_TARGET_PROPERTIES(interpkernel PROPERTIES COMPILE_FLAGS "${PLATFORM_MMAP}")
78 TARGET_LINK_LIBRARIES(interpkernel ${PLATFORM_LIBS})
79 INSTALL(TARGETS interpkernel EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
81 FILE(GLOB_RECURSE interpkernel_HEADERS_HXX "${CMAKE_CURRENT_SOURCE_DIR}/*.hxx")
82 FILE(GLOB_RECURSE interpkernel_HEADERS_TXX "${CMAKE_CURRENT_SOURCE_DIR}/*.txx")
83 INSTALL(FILES ${interpkernel_HEADERS_HXX} ${interpkernel_HEADERS_TXX} Bases/NormalizedGeometricTypes DESTINATION ${SALOME_INSTALL_HEADERS})
85 # Will be used for SWIG dependencies:
86 SET (interpkernel_HEADERS_HXX PARENT_SCOPE)
87 SET (interpkernel_HEADERS_TXX PARENT_SCOPE)