Salome HOME
b0b85bdc6f4414cecf4d7cc4ae639fe47ead6360
[modules/med.git] / src / INTERP_KERNEL / CMakeLists.txt
1 # Copyright (C) 2007-2012  CEA/DEN, EDF R&D
2 #
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.
7 #
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.
12 #
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
16 #
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 #
19
20 SET(interpkernel_SOURCES
21   TransformedTriangle.cxx
22   TransformedTriangleIntersect.cxx
23   TransformedTriangleMath.cxx
24   BoundingBox.cxx
25   TranslationRotationMatrix.cxx
26   TetraAffineTransform.cxx
27   CellModel.cxx
28   UnitTetraIntersectionBary.cxx
29   InterpolationOptions.cxx
30   DirectedBoundingBox.cxx
31   Interpolation2DCurve.cxx
32   Interpolation3DSurf.cxx
33   Interpolation3D.cxx
34   Interpolation3D2D.cxx
35   MeshElement.cxx
36   InterpKernelMeshQuality.cxx
37   InterpKernelCellSimplify.cxx
38   InterpKernelMatrixTools.cxx
39   Bases/InterpKernelException.cxx
40   Geometric2D/InterpKernelGeo2DAbstractEdge.cxx
41   Geometric2D/InterpKernelGeo2DBounds.cxx
42   Geometric2D/InterpKernelGeo2DPrecision.cxx
43   Geometric2D/InterpKernelGeo2DComposedEdge.cxx
44   Geometric2D/InterpKernelGeo2DEdgeArcCircle.cxx
45   Geometric2D/InterpKernelGeo2DEdge.cxx
46   Geometric2D/InterpKernelGeo2DEdgeInfLin.cxx
47   Geometric2D/InterpKernelGeo2DEdgeLin.cxx
48   Geometric2D/InterpKernelGeo2DElementaryEdge.cxx
49   Geometric2D/InterpKernelGeo2DNode.cxx
50   Geometric2D/InterpKernelGeo2DQuadraticPolygon.cxx
51   ExprEval/InterpKernelExprParser.cxx
52   ExprEval/InterpKernelFunction.cxx
53   ExprEval/InterpKernelUnit.cxx
54   ExprEval/InterpKernelValue.cxx
55   ExprEval/InterpKernelAsmX86.cxx
56   GaussPoints/InterpKernelGaussCoords.cxx
57   )
58
59 INCLUDE_DIRECTORIES(
60   ${CMAKE_CURRENT_SOURCE_DIR}
61   ${CMAKE_CURRENT_SOURCE_DIR}/Bases
62   ${CMAKE_CURRENT_SOURCE_DIR}/Geometric2D
63   ${CMAKE_CURRENT_SOURCE_DIR}/ExprEval
64   ${CMAKE_CURRENT_SOURCE_DIR}/GaussPoints
65   )
66
67 ADD_LIBRARY(interpkernel SHARED ${interpkernel_SOURCES})
68
69 INSTALL(TARGETS interpkernel DESTINATION ${MED_salomelib_LIBS})
70
71 FILE(GLOB_RECURSE interpkernel_HEADERS_HXX "${CMAKE_CURRENT_SOURCE_DIR}/*.hxx")
72 FILE(GLOB_RECURSE interpkernel_HEADERS_TXX "${CMAKE_CURRENT_SOURCE_DIR}/*.txx")
73 INSTALL(FILES ${interpkernel_HEADERS_HXX} ${interpkernel_HEADERS_TXX} DESTINATION ${MED_salomeinclude_HEADERS})