Test EXPORTS definition with target name as suggested by cmake

This commit is contained in:
adam 2009-03-06 15:52:44 +00:00
parent 6677040e68
commit 2b2368b201
15 changed files with 15 additions and 15 deletions

View File

@ -32,7 +32,7 @@
#include <TopoDS_Shape.hxx>
#ifdef WNT
#if defined BREPEXPORT_EXPORTS
#if defined BREPEXPORT_EXPORTS || defined BREPExport_EXPORTS
#if defined WIN32
#define BREPEXPORT_EXPORT __declspec( dllexport )
#else

View File

@ -33,7 +33,7 @@
#include <TopoDS_Shape.hxx>
#ifdef WNT
#if defined BREPIMPORT_EXPORTS
#if defined BREPIMPORT_EXPORTS || defined BREPImport_EXPORTS
#if defined WIN32
#define BREPIMPORT_EXPORT __declspec( dllexport )
#else

View File

@ -26,7 +26,7 @@
#define GEOM_DLGREF_H
#if defined WIN32
# if defined DLGREF_EXPORTS
# if defined DLGREF_EXPORTS || defined DlgRef_EXPORTS
# define DLGREF_EXPORT __declspec( dllexport )
# else
# define DLGREF_EXPORT __declspec( dllimport )

View File

@ -26,7 +26,7 @@
#define GEOM_GEOMBASE_HXX
#if defined WIN32
# if defined GEOMBASE_EXPORTS
# if defined GEOMBASE_EXPORTS || defined GEOMBase_EXPORTS
# define GEOMBASE_EXPORT __declspec( dllexport )
# else
# define GEOMBASE_EXPORT __declspec( dllimport )

View File

@ -52,7 +52,7 @@ class TopoDS_Shape;
#endif
#ifdef WNT
#if defined GEOMCLIENT_EXPORTS
#if defined GEOMCLIENT_EXPORTS || defined GEOMClient_EXPORTS
#if defined WIN32
#define GEOMCLIENT_EXPORT __declspec( dllexport )
#else

View File

@ -26,7 +26,7 @@
#define GEOM_GEOMGUI_HXX
#if defined WIN32
# if defined GEOMGUI_EXPORTS
# if defined GEOMGUI_EXPORTS || defined GEOM_EXPORTS
# define GEOMGUI_EXPORT __declspec( dllexport )
# else
# define GEOMGUI_EXPORT __declspec( dllimport )

View File

@ -27,7 +27,7 @@
#define _GEOM_GEOMImpl_HXX_
#ifdef WNT
#if defined GEOMIMPL_EXPORTS
#if defined GEOMIMPL_EXPORTS || defined GEOMimpl_EXPORTS
#if defined WIN32
#define GEOMIMPL_EXPORT __declspec( dllexport )
#else

View File

@ -27,7 +27,7 @@
#define _GEOM_ToolsGUI_HXX_
#ifdef WNT
#if defined GEOMTOOLSGUI_EXPORTS
#if defined GEOMTOOLSGUI_EXPORTS || defined GEOMToolsGUI_EXPORTS
#if defined WIN32
#define GEOMTOOLSGUI_EXPORT __declspec( dllexport )
#else

View File

@ -27,7 +27,7 @@
#define _GEOM_GEOM_I_HXX_
#ifdef WNT
#if defined GEOM_I_EXPORTS
#if defined GEOM_I_EXPORTS || defined GEOMEngine_EXPORTS
#if defined WIN32
#define GEOM_I_EXPORT __declspec( dllexport )
#else

View File

@ -34,7 +34,7 @@
#include <TopoDS_Shape.hxx>
#ifdef WNT
#if defined IGESEXPORT_EXPORTS
#if defined IGESEXPORT_EXPORTS || defined IGESExport_EXPORTS
#if defined WIN32
#define IGESEXPORT_EXPORT __declspec( dllexport )
#else

View File

@ -33,7 +33,7 @@
#include <TopoDS_Shape.hxx>
#ifdef WNT
#if defined IGESIMPORT_EXPORTS
#if defined IGESIMPORT_EXPORTS || defined IGESImport_EXPORTS
#if defined WIN32
#define IGESIMPORT_EXPORT __declspec( dllexport )
#else

View File

@ -27,7 +27,7 @@
#define _GEOM_OBJECT_defs_HXX_
#ifdef WIN32
# if defined GEOM_OBJECT_EXPORTS
# if defined GEOM_OBJECT_EXPORTS || defined GEOMObject_EXPORTS
# define GEOM_OBJECT_EXPORT __declspec( dllexport )
# else
# define GEOM_OBJECT_EXPORT __declspec( dllimport )

View File

@ -34,7 +34,7 @@
#include <TopoDS_Shape.hxx>
#ifdef WNT
#if defined STEPEXPORT_EXPORTS
#if defined STEPEXPORT_EXPORTS || defined STEPExport_EXPORTS
#if defined WIN32
#define STEPEXPORT_EXPORT __declspec( dllexport )
#else

View File

@ -40,7 +40,7 @@
#include <Standard_ErrorHandler.hxx> // CAREFUL ! position of this file is critic : see Lucien PIGNOLONI / OCC
#ifdef WNT
#if defined STEPIMPORT_EXPORTS
#if defined STEPIMPORT_EXPORTS || defined STEPImport_EXPORTS
#if defined WIN32
#define STEPIMPORT_EXPORT __declspec( dllexport )
#else

View File

@ -32,7 +32,7 @@
#include <TopoDS_Shape.hxx>
#ifdef WIN32
# if defined STLEXPORT_EXPORTS
# if defined STLEXPORT_EXPORTS || defined STLExport_EXPORTS
# define STLEXPORT_EXPORT __declspec( dllexport )
# else
# define STLEXPORT_EXPORT __declspec( dllimport )