From f755780e91b6c56a4444bb378f1ed83b0fc45e98 Mon Sep 17 00:00:00 2001 From: adam Date: Wed, 7 Oct 2009 12:46:11 +0000 Subject: [PATCH] windows port --- .../InterpKernelTestExport.hxx | 35 +++++++++++++++++++ src/INTERP_KERNELTest/Makefile.am | 1 + 2 files changed, 36 insertions(+) create mode 100644 src/INTERP_KERNELTest/InterpKernelTestExport.hxx diff --git a/src/INTERP_KERNELTest/InterpKernelTestExport.hxx b/src/INTERP_KERNELTest/InterpKernelTestExport.hxx new file mode 100644 index 000000000..8c76b8ab5 --- /dev/null +++ b/src/INTERP_KERNELTest/InterpKernelTestExport.hxx @@ -0,0 +1,35 @@ +// Copyright (C) 2007-2008 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 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 +// +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +// +#ifndef _INTERPKERNELTESTEXPORT_HXX_ +#define _INTERPKERNELTESTEXPORT_HXX_ + +#ifdef WNT +# if defined InterpKernelTest_EXPORTS +# define INTERPKERNELTEST_EXPORT __declspec( dllexport ) +# else +# define INTERPKERNELTEST_EXPORT __declspec( dllimport ) +# endif +#else +# define INTERPKERNELTEST_EXPORT +#endif + +#endif diff --git a/src/INTERP_KERNELTest/Makefile.am b/src/INTERP_KERNELTest/Makefile.am index 132acbf9c..242f5f43f 100644 --- a/src/INTERP_KERNELTest/Makefile.am +++ b/src/INTERP_KERNELTest/Makefile.am @@ -36,6 +36,7 @@ CLEANFILES = \ UnitTestsResult libInterpKernelTest_la_SOURCES= \ + InterpKernelTestExport.hxx \ BBTreeTest.hxx \ BBTreeTest.cxx \ CppUnitTest.hxx \ -- 2.39.2