]> SALOME platform Git repositories - plugins/blsurfplugin.git/commitdiff
Salome HOME
windows port
authoradam <adam>
Fri, 18 Sep 2009 12:46:52 +0000 (12:46 +0000)
committeradam <adam>
Fri, 18 Sep 2009 12:46:52 +0000 (12:46 +0000)
src/BLSURFPlugin/BLSURFPlugin_i.cxx
src/BLSURFPlugin/Makefile.am

index 6eceece2b93694bc06bbe4264a7905e7090100e5..df84e4142c805801af4fd1f6a2f6053af8f936c5 100644 (file)
 //
 #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 T> class BLSURFPlugin_Creator_i:public HypothesisCreator_i<T>
 
 extern "C"
 {
+  BLSURFPLUGIN_EXPORT
   GenericHypothesisCreator_i* GetHypothesisCreator (const char* aHypName)
   {
     MESSAGE("GetHypothesisCreator " << aHypName);
index aa7f03011f9ee38ed9fbc93bd9e865c77325c148..209aa9cb3b2a8272ed72400f45d0845b51960989 100644 (file)
@@ -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