1 # Copyright (C) 2007-2012 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.
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 # SALOMELocalTrace : log on local machine
22 include $(top_srcdir)/adm_local/unix/make_common_starter.am
24 lib_LTLIBRARIES = libMEDMEMCppTest.la
26 salomeinclude_HEADERS = MEDMEMTest.hxx MEDMEMCppTestExport.hxx
28 EXTRA_DIST += BasicMainTest.hxx
30 dist_libMEDMEMCppTest_la_SOURCES= \
32 MEDMEMTest_Array.cxx \
33 MEDMEMTest_AsciiFieldDriver.cxx \
34 MEDMEMTest_Connectivity.cxx \
35 MEDMEMTest_Coordinate.cxx \
36 MEDMEMTest_DesactivateFacesComputation.cxx \
37 MEDMEMTest_GetVolumeAbs.cxx \
38 MEDMEMTest_DriverFactory.cxx \
39 MEDMEMTest_Exception.cxx \
40 MEDMEMTest_Extractor.cxx \
41 MEDMEMTest_Family.cxx \
42 MEDMEMTest_Field.cxx \
43 MEDMEMTest_Formulae.cxx \
44 MEDMEMTest_GaussLocalization.cxx \
45 MEDMEMTest_GibiMeshDriver.cxx \
47 MEDMEMTest_Group.cxx \
48 MEDMEMTest_MedFileBrowser.cxx \
49 MEDMEMTest_MedFieldDriver.cxx \
50 MEDMEMTest_MedMeshDriver.cxx \
51 MEDMEMTest_MedVersion.cxx \
52 MEDMEMTest_MeshAndMeshing.cxx \
53 MEDMEMTest_ModulusArray.cxx \
54 MEDMEMTest_PartialDescendingConnectivity.cxx \
55 MEDMEMTest_PointerOf.cxx \
56 MEDMEMTest_PorflowMeshDriver.cxx \
57 MEDMEMTest_Remapper.cxx \
58 MEDMEMTest_SkyLineArray.cxx \
59 MEDMEMTest_Support.cxx \
60 MEDMEMTest_TopLevel.cxx \
62 MEDMEMTest_VtkFieldDriver.cxx \
63 MEDMEMTest_VtkMedDriver.cxx \
64 MEDMEMTest_VtkMeshDriver.cxx \
65 MEDMEMTest_nArray.cxx \
66 MEDMEMTest_Utils.hxx \
67 MEDMEMTest_Utils.cxx \
68 MEDMEMTest_MeshFuse.cxx
70 libMEDMEMCppTest_la_CPPFLAGS= @CPPUNIT_INCLUDES@ $(MED3_INCLUDES) $(HDF5_INCLUDES) \
71 -I$(srcdir)/../MEDMEM \
72 -I$(srcdir)/../INTERP_KERNEL \
73 -I$(srcdir)/../INTERP_KERNEL/Bases \
74 -I$(srcdir)/../INTERP_KERNEL/GaussPoints \
75 -I$(srcdir)/../INTERP_KERNEL/Geometric2D
77 libMEDMEMCppTest_la_LDFLAGS= $(MED3_LIBS_C_ONLY) @CPPUNIT_LIBS@ \
78 ../MEDMEM/libmedmem.la
81 libMEDMEMCppTest_la_CPPFLAGS+= ${KERNEL_CXXFLAGS}
82 libMEDMEMCppTest_la_LDFLAGS+= ${KERNEL_LDFLAGS} -lSALOMELocalTrace
86 bin_PROGRAMS = TestMEDMEM \
87 MEDMEMTest_Array_fault \
88 MEDMEMTest_Connectivity_fault \
89 MEDMEMTest_Coordinate_fault \
90 MEDMEMTest_Family_fault \
91 MEDMEMTest_Field_fault \
92 MEDMEMTest_Grid_fault \
93 MEDMEMTest_MeshAndMeshing_fault \
94 MEDMEMTest_Support_fault \
95 MEDMEMTest_VtkFieldDriver_fault \
96 MEDMEMTest_VtkMeshDriver_fault
98 dist_TestMEDMEM_SOURCES= TestMEDMEM.cxx
99 dist_MEDMEMTest_Array_fault_SOURCES= MEDMEMTest_Array_fault.cxx
100 dist_MEDMEMTest_Connectivity_fault_SOURCES= MEDMEMTest_Connectivity_fault.cxx
101 dist_MEDMEMTest_Coordinate_fault_SOURCES= MEDMEMTest_Coordinate_fault.cxx
102 dist_MEDMEMTest_Family_fault_SOURCES= MEDMEMTest_Family_fault.cxx
103 dist_MEDMEMTest_Field_fault_SOURCES= MEDMEMTest_Field_fault.cxx
104 dist_MEDMEMTest_Grid_fault_SOURCES= MEDMEMTest_Grid_fault.cxx
105 dist_MEDMEMTest_MeshAndMeshing_fault_SOURCES= MEDMEMTest_MeshAndMeshing_fault.cxx
106 dist_MEDMEMTest_Support_fault_SOURCES= MEDMEMTest_Support_fault.cxx
107 dist_MEDMEMTest_VtkFieldDriver_fault_SOURCES= MEDMEMTest_VtkFieldDriver_fault.cxx
108 dist_MEDMEMTest_VtkMeshDriver_fault_SOURCES= MEDMEMTest_VtkMeshDriver_fault.cxx
110 LDADD= $(MED3_LIBS_C_ONLY) $(libMEDMEMCppTest_la_LDFLAGS) -lm \
111 ../MEDMEM/libmedmem.la \
112 ../INTERP_KERNEL/libinterpkernel.la libMEDMEMCppTest.la
114 LDADD+= -lSALOMEBasics
116 AM_CPPFLAGS += $(libMEDMEMCppTest_la_CPPFLAGS)
118 dist_salomescript_DATA = testMEDMEM.py
120 UNIT_TEST_PROG = TestMEDMEM
125 EXTRA_DIST += $(OBSOLETE_FILES)