-# Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License.
#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License.
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
+
# SALOMELocalTrace : log on local machine
#
include $(top_srcdir)/adm_local/unix/make_common_starter.am
lib_LTLIBRARIES = libMEDMEMCppTest.la
-salomeinclude_HEADERS = MEDMEMTest.hxx
+salomeinclude_HEADERS = MEDMEMTest.hxx MEDMEMCppTestExport.hxx
EXTRA_DIST += BasicMainTest.hxx
MEDMEMTest_AsciiFieldDriver.cxx \
MEDMEMTest_Connectivity.cxx \
MEDMEMTest_Coordinate.cxx \
+ MEDMEMTest_DesactivateFacesComputation.cxx \
+ MEDMEMTest_GetVolumeAbs.cxx \
MEDMEMTest_DriverFactory.cxx \
MEDMEMTest_Exception.cxx \
MEDMEMTest_Extractor.cxx \
MEDMEMTest_GibiMeshDriver.cxx \
MEDMEMTest_Grid.cxx \
MEDMEMTest_Group.cxx \
- MEDMEMTest_Med.cxx \
- MEDMEMTest_MedFieldDriver21.cxx \
- MEDMEMTest_MedFieldDriver22.cxx \
- MEDMEMTest_MedMedDriver21.cxx \
- MEDMEMTest_MedMedDriver22.cxx \
- MEDMEMTest_MedMeshDriver21.cxx \
- MEDMEMTest_MedMeshDriver22.cxx \
+ MEDMEMTest_MedFileBrowser.cxx \
+ MEDMEMTest_MedFieldDriver.cxx \
+ MEDMEMTest_MedMeshDriver.cxx \
MEDMEMTest_MedVersion.cxx \
MEDMEMTest_MeshAndMeshing.cxx \
MEDMEMTest_ModulusArray.cxx \
- MEDMEMTest_nArray.cxx \
+ MEDMEMTest_PartialDescendingConnectivity.cxx \
MEDMEMTest_PointerOf.cxx \
- MEDMEMTest_PolyhedronArray.cxx \
MEDMEMTest_PorflowMeshDriver.cxx \
+ MEDMEMTest_Remapper.cxx \
MEDMEMTest_SkyLineArray.cxx \
MEDMEMTest_Support.cxx \
MEDMEMTest_TopLevel.cxx \
MEDMEMTest_Unit.cxx \
MEDMEMTest_VtkFieldDriver.cxx \
MEDMEMTest_VtkMedDriver.cxx \
- MEDMEMTest_VtkMeshDriver.cxx
+ MEDMEMTest_VtkMeshDriver.cxx \
+ MEDMEMTest_nArray.cxx \
+ MEDMEMTest_Utils.hxx \
+ MEDMEMTest_Utils.cxx \
+ MEDMEMTest_MeshFuse.cxx
-libMEDMEMCppTest_la_CPPFLAGS= @CPPUNIT_INCLUDES@ $(MED2_INCLUDES) $(HDF5_INCLUDES) \
- -I$(srcdir)/../MEDMEM -I$(srcdir)/../INTERP_KERNEL -I$(srcdir)/../MEDWrapper/V2_1/Core
-libMEDMEMCppTest_la_LDFLAGS= $(MED2_LIBS) @CPPUNIT_LIBS@
+libMEDMEMCppTest_la_CPPFLAGS= @CPPUNIT_INCLUDES@ $(MED3_INCLUDES) $(HDF5_INCLUDES) \
+ -I$(srcdir)/../MEDMEM \
+ -I$(srcdir)/../INTERP_KERNEL \
+ -I$(srcdir)/../INTERP_KERNEL/Bases \
+ -I$(srcdir)/../INTERP_KERNEL/GaussPoints
+libMEDMEMCppTest_la_LDFLAGS= $(MED3_LIBS_C_ONLY) @CPPUNIT_LIBS@ \
+ ../MEDMEM/libmedmem.la
if MED_ENABLE_KERNEL
libMEDMEMCppTest_la_CPPFLAGS+= ${KERNEL_CXXFLAGS}
- libMEDMEMCppTest_la_LDFLAGS+= ${KERNEL_LDFLAGS} -lSALOMELocalTrace
+ libMEDMEMCppTest_la_LDFLAGS+= ${KERNEL_LDFLAGS} -lSALOMELocalTrace
endif
# Executables targets
-bin_PROGRAMS = \
- TestMEDMEM \
+bin_PROGRAMS = TestMEDMEM \
MEDMEMTest_Array_fault \
MEDMEMTest_Connectivity_fault \
MEDMEMTest_Coordinate_fault \
MEDMEMTest_Family_fault \
MEDMEMTest_Field_fault \
MEDMEMTest_Grid_fault \
- MEDMEMTest_MedFieldDriver21_fault \
- MEDMEMTest_MedMedDriver21_fault \
- MEDMEMTest_MedMedDriver22_fault \
MEDMEMTest_MeshAndMeshing_fault \
MEDMEMTest_Support_fault \
MEDMEMTest_VtkFieldDriver_fault \
dist_MEDMEMTest_Family_fault_SOURCES= MEDMEMTest_Family_fault.cxx
dist_MEDMEMTest_Field_fault_SOURCES= MEDMEMTest_Field_fault.cxx
dist_MEDMEMTest_Grid_fault_SOURCES= MEDMEMTest_Grid_fault.cxx
-dist_MEDMEMTest_MedFieldDriver21_fault_SOURCES= MEDMEMTest_MedFieldDriver21_fault.cxx
-dist_MEDMEMTest_MedMedDriver21_fault_SOURCES= MEDMEMTest_MedMedDriver21_fault.cxx
-dist_MEDMEMTest_MedMedDriver22_fault_SOURCES= MEDMEMTest_MedMedDriver22_fault.cxx
dist_MEDMEMTest_MeshAndMeshing_fault_SOURCES= MEDMEMTest_MeshAndMeshing_fault.cxx
dist_MEDMEMTest_Support_fault_SOURCES= MEDMEMTest_Support_fault.cxx
dist_MEDMEMTest_VtkFieldDriver_fault_SOURCES= MEDMEMTest_VtkFieldDriver_fault.cxx
dist_MEDMEMTest_VtkMeshDriver_fault_SOURCES= MEDMEMTest_VtkMeshDriver_fault.cxx
-LDADD= $(MED2_LIBS) $(libMEDMEMCppTest_la_LDFLAGS) -lm \
- ../MEDWrapper/V2_1/Core/libmed_V2_1.la ../MEDMEM/libmedmem.la libMEDMEMCppTest.la
+LDADD= $(MED3_LIBS_C_ONLY) $(libMEDMEMCppTest_la_LDFLAGS) -lm \
+ ../MEDMEM/libmedmem.la \
+ ../INTERP_KERNEL/libinterpkernel.la libMEDMEMCppTest.la
if MED_ENABLE_KERNEL
LDADD+= -lSALOMEBasics
endif
-AM_CPPFLAGS= $(libMEDMEMCppTest_la_CPPFLAGS)
+AM_CPPFLAGS += $(libMEDMEMCppTest_la_CPPFLAGS)
dist_salomescript_DATA = testMEDMEM.py
EXTRA_DIST += $(OBSOLETE_FILES)
check: tests
+
+CLEANFILES = \
+ UnitTestsResult
+
+clean-local:
+ rm -rf *.med
+
+