From: adam Date: Fri, 6 Mar 2009 15:54:21 +0000 (+0000) Subject: Test EXPORTS definition with target name as suggested by cmake X-Git-Tag: V5_1_main_FINAL~429 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9423dda196640c8a47ba08e4a66e5b04f46da1e3;p=tools%2Fmedcoupling.git Test EXPORTS definition with target name as suggested by cmake --- diff --git a/src/INTERP_KERNEL/Bases/INTERPKERNELBASESDefines.hxx b/src/INTERP_KERNEL/Bases/INTERPKERNELBASESDefines.hxx index f07ce5f69..27c10887d 100644 --- a/src/INTERP_KERNEL/Bases/INTERPKERNELBASESDefines.hxx +++ b/src/INTERP_KERNEL/Bases/INTERPKERNELBASESDefines.hxx @@ -21,7 +21,7 @@ //export symbols #ifdef WIN32 -# ifdef INTERPKERNELBASES_EXPORTS +# if defined INTERPKERNELBASES_EXPORTS || defined interpkernelbases_EXPORTS # define INTERPKERNELBASES_EXPORT __declspec(dllexport) # else # define INTERPKERNELBASES_EXPORT __declspec(dllimport) diff --git a/src/INTERP_KERNEL/Geometric2D/INTERPKERNELGEOMETRIC2DDefines.hxx b/src/INTERP_KERNEL/Geometric2D/INTERPKERNELGEOMETRIC2DDefines.hxx index 6817031db..f8a5a06dc 100644 --- a/src/INTERP_KERNEL/Geometric2D/INTERPKERNELGEOMETRIC2DDefines.hxx +++ b/src/INTERP_KERNEL/Geometric2D/INTERPKERNELGEOMETRIC2DDefines.hxx @@ -21,7 +21,7 @@ //export symbols #ifdef WIN32 -# ifdef INTERPKERNELGEOMETRIC2D_EXPORTS +# if defined INTERPKERNELGEOMETRIC2D_EXPORTS || defined InterpGeometric2DAlg_EXPORTS # define INTERPKERNELGEOMETRIC2D_EXPORT __declspec(dllexport) # else # define INTERPKERNELGEOMETRIC2D_EXPORT __declspec(dllimport) diff --git a/src/INTERP_KERNEL/INTERPKERNELDefines.hxx b/src/INTERP_KERNEL/INTERPKERNELDefines.hxx index d89f5da03..c4d213cee 100644 --- a/src/INTERP_KERNEL/INTERPKERNELDefines.hxx +++ b/src/INTERP_KERNEL/INTERPKERNELDefines.hxx @@ -21,7 +21,7 @@ //export symbols #ifdef WIN32 -# ifdef INTERPKERNEL_EXPORTS +# if defined INTERPKERNEL_EXPORTS || defined interpkernel_EXPORTS # define INTERPKERNEL_EXPORT __declspec(dllexport) # else # define INTERPKERNEL_EXPORT __declspec(dllimport)