1 # Copyright (C) 2007-2008 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.
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
20 include $(top_srcdir)/adm_local/unix/make_common_starter.am
22 lib_LTLIBRARIES = libInterpKernelTest.la
24 salomeinclude_HEADERS = CppUnitTest.hxx \
25 TransformedTriangleTest.hxx \
26 TransformedTriangleIntersectTest.hxx \
27 InterpolationTestSuite.hxx \
28 SingleElementTetraTests.hxx \
29 MultiElementTetraTests.hxx \
35 SingleElementPlanarTests.hxx \
36 MultiElement2DTests.hxx \
37 InterpolationPlanarTestSuite.hxx \
38 UnitTetraIntersectionBaryTest.hxx \
39 PointLocatorTest.hxx \
41 QuadraticPlanarInterpTest.hxx
45 Interpolation3DTest.cxx \
46 Interpolation3DTest.hxx \
47 MultiElement3DSurfTests.hxx \
54 dist_libInterpKernelTest_la_SOURCES= \
56 TransformedTriangleTest.cxx \
57 UnitTetraIntersectionBaryTest.cxx \
58 TransformedTriangleIntersectTest.cxx \
61 SingleElementPlanarTests.cxx \
62 PointLocatorTest.cxx \
64 InterpolationOptionsTest.hxx \
65 InterpolationOptionsTest.cxx \
66 QuadraticPlanarInterpTest.cxx \
67 QuadraticPlanarInterpTest2.cxx \
68 QuadraticPlanarInterpTest3.cxx \
69 QuadraticPlanarInterpTest4.cxx \
70 QuadraticPlanarInterpTest5.cxx
72 libInterpKernelTest_la_CPPFLAGS = @CPPUNIT_INCLUDES@ $(MED2_INCLUDES) $(HDF5_INCLUDES) \
73 -I$(srcdir)/.. -I$(srcdir)/../MEDWrapper/V2_1/Core -I$(srcdir)/../MEDMEM \
74 -I$(srcdir)/../INTERP_KERNEL -I$(srcdir)/../INTERP_KERNEL/Geometric2D \
75 -I$(srcdir)/../INTERP_KERNEL/Bases -DOPTIMIZE -DLOG_LEVEL=0
77 libInterpKernelTest_la_LDFLAGS = @CPPUNIT_LIBS@ ../MEDWrapper/V2_1/Core/libmed_V2_1.la \
78 ../INTERP_KERNEL/libinterpkernel.la ../INTERP_KERNEL/Geometric2D/libInterpGeometric2DAlg.la \
79 ../MEDMEM/libmedmem.la -lm
82 libInterpKernelTest_la_CPPFLAGS += ${KERNEL_CXXFLAGS}
83 libInterpKernelTest_la_LDFLAGS += ${KERNEL_LDFLAGS} -lSALOMELocalTrace
87 bin_PROGRAMS = TestINTERP_KERNEL \
90 dist_TestINTERP_KERNEL_SOURCES = TestInterpKernel.cxx
91 dist_PerfTest_SOURCES = PerfTest.cxx
93 LDADD = $(MED2_LIBS) $(libInterpKernelTest_la_LDFLAGS) \
94 libInterpKernelTest.la
96 LDADD += -lSALOMEBasics
98 AM_CPPFLAGS = $(libInterpKernelTest_la_CPPFLAGS)
100 UNIT_TEST_PROG = TestInterpKernel