From: adam Date: Fri, 18 Sep 2009 12:46:52 +0000 (+0000) Subject: windows port X-Git-Tag: V5_1_3rc1~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d2dc3702ed690a11821e28985d505428c8c76c45;p=plugins%2Fblsurfplugin.git windows port --- diff --git a/src/BLSURFPlugin/BLSURFPlugin_i.cxx b/src/BLSURFPlugin/BLSURFPlugin_i.cxx index 6eceece..df84e41 100644 --- a/src/BLSURFPlugin/BLSURFPlugin_i.cxx +++ b/src/BLSURFPlugin/BLSURFPlugin_i.cxx @@ -23,6 +23,16 @@ // #include "utilities.h" +#ifdef WIN32 + #if defined BLSURFPLUGIN_EXPORTS || defined BLSURFEngine_EXPORTS + #define BLSURFPLUGIN_EXPORT __declspec( dllexport ) + #else + #define BLSURFPLUGIN_EXPORT __declspec( dllimport ) + #endif +#else + #define BLSURFPLUGIN_EXPORT +#endif + #include "BLSURFPlugin_BLSURF_i.hxx" #include "BLSURFPlugin_Hypothesis_i.hxx" @@ -40,6 +50,7 @@ template class BLSURFPlugin_Creator_i:public HypothesisCreator_i extern "C" { + BLSURFPLUGIN_EXPORT GenericHypothesisCreator_i* GetHypothesisCreator (const char* aHypName) { MESSAGE("GetHypothesisCreator " << aHypName); diff --git a/src/BLSURFPlugin/Makefile.am b/src/BLSURFPlugin/Makefile.am index aa7f030..209aa9c 100644 --- a/src/BLSURFPlugin/Makefile.am +++ b/src/BLSURFPlugin/Makefile.am @@ -59,6 +59,9 @@ libBLSURFEngine_la_CPPFLAGS = \ libBLSURFEngine_la_LDFLAGS = \ ../../idl/libSalomeIDLBLSURFPLUGIN.la \ + $(PYTHON_LIBS) \ + $(CAS_KERNEL) -lTKBRep -lTKGeomBase -lTKGeomAlgo -lTKTopAlgo -lTKLCAF -lTKXSBase -lTKG2d -lTKG3d \ $(BLSURF_LIBS) \ - $(SMESH_LDFLAGS) -lSMESHimpl -lSMESHEngine -lStdMeshersEngine \ - $(KERNEL_LDFLAGS) -lSalomeGenericObj + $(SMESH_LDFLAGS) -lSMESHimpl -lSMESHEngine -lStdMeshersEngine -lSMDS -lSMESHDS \ + $(GEOM_LDFLAGS) -lGEOMbasic \ + $(KERNEL_LDFLAGS) -lSalomeGenericObj -lSalomeNS -lSALOMELocalTrace