]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Build SALOME on win32 platform.
authorrnv <rnv@opencascade.com>
Fri, 27 Jan 2012 08:17:54 +0000 (08:17 +0000)
committerrnv <rnv@opencascade.com>
Fri, 27 Jan 2012 08:17:54 +0000 (08:17 +0000)
tools/vtkEDFOverloads/Makefile.am
tools/vtkEDFOverloads/vtkEDFCutter.h
tools/vtkEDFOverloads/vtkEDFFactory.h
tools/vtkEDFOverloads/vtkEDFOverloadsDefines.h [new file with mode: 0755]

index bd6f5ec5cc2df970f54bed0b37f951acad8a3ee9..057144728ed89552a189ab0d90f2b33e33937d0c 100755 (executable)
@@ -26,7 +26,8 @@ libparaview_LTLIBRARIES = libvtkEDFOverloads.la
 lib_LTLIBRARIES = libvtkTools.la
 
 salomeinclude_HEADERS = vtkEDFCutter.h \
-       vtkEDFFactory.h
+                       vtkEDFFactory.h \
+                       vtkEDFOverloadsDefines.h
 
 dist_libvtkEDFOverloads_la_SOURCES = vtkEDFFactory.cxx
 dist_libvtkTools_la_SOURCES = vtkEDFCutter.cxx
@@ -35,4 +36,5 @@ libvtkEDFOverloads_la_CPPFLAGS = $(VTK_INCLUDES)
 libvtkTools_la_CPPFLAGS = $(VTK_INCLUDES)
 
 libvtkEDFOverloads_la_LDFLAGS = $(VTK_LIBS)
+libvtkEDFOverloads_la_LIBADD = libvtkTools.la
 libvtkTools_la_LDFLAGS = $(VTK_LIBS)
\ No newline at end of file
index c01dd399434eb60934cdf61bae9fd63f92d86409..d3e9f2fda0d2bf7e06d846ee2151652af0283abc 100755 (executable)
 #ifndef __vtkEDFCutter_h__
 #define __vtkEDFCutter_h__
 
+#include "vtkEDFOverloadsDefines.h"
 #include "vtkCutter.h"
 
-class VTK_EXPORT vtkEDFCutter : public vtkCutter
+class VTKTOOLS_EXPORT vtkEDFCutter : public vtkCutter
 {
 public :
   static vtkEDFCutter* New();
index d572c44132996aa017a96a36d7a994b7f7674429..fe6486cfd24ffc36a3089df9da8f62062ca292d0 100755 (executable)
 #ifndef __vtkEDFFactory_h
 #define __vtkEDFFactory_h
 
+#include "vtkEDFOverloadsDefines.h"
 #include "vtkObjectFactory.h"
 
-class VTK_EXPORT vtkEDFFactory : public vtkObjectFactory
+class VTKEDF_OVERLOADS_EXPORT vtkEDFFactory : public vtkObjectFactory
 {
 public:
 // Methods from vtkObject
diff --git a/tools/vtkEDFOverloads/vtkEDFOverloadsDefines.h b/tools/vtkEDFOverloads/vtkEDFOverloadsDefines.h
new file mode 100755 (executable)
index 0000000..30d3e4f
--- /dev/null
@@ -0,0 +1,44 @@
+// Copyright (C) 2007-2011  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 VTKEDF_OVERLOADS_DEFINES_H
+#define VTKEDF_OVERLOADS_DEFINES_H
+
+#if defined WIN32
+#  if defined VTKEDF_OVERLOADS_EXPORTS || defined vtkEDFOverloads_EXPORTS
+#    define VTKEDF_OVERLOADS_EXPORT __declspec( dllexport )
+#  else
+#    define VTKEDF_OVERLOADS_EXPORT __declspec( dllimport )
+#  endif
+
+#  if defined VTKTOOLS_EXPORTS || defined vtkTools_EXPORTS
+#    define VTKTOOLS_EXPORT __declspec( dllexport )
+#  else
+#    define VTKTOOLS_EXPORT __declspec( dllimport )
+#  endif
+
+#else
+#  define VTKEDF_OVERLOADS_EXPORT
+#  define VTKTOOLS_EXPORT
+#endif //WIN32
+
+#endif //VTKEDF_OVERLOADS_DEFINES_H
\ No newline at end of file