mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-24 08:20:34 +05:00
Test EXPORTS definition with target name as suggested by cmake
This commit is contained in:
parent
f408ed4ef2
commit
c9cb7f7c5d
@ -46,7 +46,7 @@
|
||||
#include "SMESH_Controls.hxx"
|
||||
|
||||
#ifdef WNT
|
||||
#if defined SMESHCONTROLS_EXPORTS
|
||||
#if defined SMESHCONTROLS_EXPORTS || defined SMESHControls_EXPORTS
|
||||
#define SMESHCONTROLS_EXPORT __declspec( dllexport )
|
||||
#else
|
||||
#define SMESHCONTROLS_EXPORT __declspec( dllimport )
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include <string>
|
||||
|
||||
#ifdef WNT
|
||||
#if defined MESHDRIVER_EXPORTS
|
||||
#if defined MESHDRIVER_EXPORTS || defined MeshDriver_EXPORTS
|
||||
#define MESHDRIVER_EXPORT __declspec( dllexport )
|
||||
#else
|
||||
#define MESHDRIVER_EXPORT __declspec( dllimport )
|
||||
|
@ -27,7 +27,7 @@
|
||||
#define _SMESH_DriverDAT_HXX_
|
||||
|
||||
#ifdef WNT
|
||||
#if defined MESHDRIVERDAT_EXPORTS
|
||||
#if defined MESHDRIVERDAT_EXPORTS || defined MeshDriverDAT_EXPORTS
|
||||
#define MESHDRIVERDAT_EXPORT __declspec( dllexport )
|
||||
#else
|
||||
#define MESHDRIVERDAT_EXPORT __declspec( dllimport )
|
||||
|
@ -27,7 +27,7 @@
|
||||
#define _SMESH_DriverMED_HXX_
|
||||
|
||||
#ifdef WNT
|
||||
#if defined MESHDRIVERMED_EXPORTS
|
||||
#if defined MESHDRIVERMED_EXPORTS || defined MeshDriverMED_EXPORTS
|
||||
#define MESHDRIVERMED_EXPORT __declspec( dllexport )
|
||||
#else
|
||||
#define MESHDRIVERMED_EXPORT __declspec( dllimport )
|
||||
|
@ -27,7 +27,7 @@
|
||||
#define _SMESH_DriverSTL_HXX_
|
||||
|
||||
#ifdef WNT
|
||||
#if defined MESHDRIVERSTL_EXPORTS
|
||||
#if defined MESHDRIVERSTL_EXPORTS || defined MeshDriverSTL_EXPORTS
|
||||
#define MESHDRIVERSTL_EXPORT __declspec( dllexport )
|
||||
#else
|
||||
#define MESHDRIVERSTL_EXPORT __declspec( dllimport )
|
||||
|
@ -27,7 +27,7 @@
|
||||
#define _SMESH_DriverUNV_HXX_
|
||||
|
||||
#ifdef WNT
|
||||
#if defined MESHDRIVERUNV_EXPORTS
|
||||
#if defined MESHDRIVERUNV_EXPORTS || defined MeshDriverUNV_EXPORTS
|
||||
#define MESHDRIVERUNV_EXPORT __declspec( dllexport )
|
||||
#else
|
||||
#define MESHDRIVERUNV_EXPORT __declspec( dllimport )
|
||||
|
@ -29,7 +29,7 @@
|
||||
#define SMESH_OBJECT_H
|
||||
|
||||
#ifdef WNT
|
||||
#if defined SMESHOBJECT_EXPORTS
|
||||
#if defined SMESHOBJECT_EXPORTS || defined SMESHObject_EXPORTS
|
||||
#define SMESHOBJECT_EXPORT __declspec( dllexport )
|
||||
#else
|
||||
#define SMESHOBJECT_EXPORT __declspec( dllimport )
|
||||
|
@ -27,7 +27,7 @@
|
||||
#define _SMESH_SMESH_HXX_
|
||||
|
||||
#ifdef WNT
|
||||
#if defined SMESH_EXPORTS
|
||||
#if defined SMESHimpl_EXPORTS
|
||||
#define SMESH_EXPORT __declspec( dllexport )
|
||||
#else
|
||||
#define SMESH_EXPORT __declspec( dllimport )
|
||||
|
@ -32,7 +32,7 @@
|
||||
#include CORBA_SERVER_HEADER(SMESH_Mesh)
|
||||
|
||||
#ifdef WNT
|
||||
# ifdef SMESHCLIENT_EXPORTS
|
||||
# if defined SMESHCLIENT_EXPORTS || defined SMESHClient_EXPORTS
|
||||
# define SMESHCLIENT_EXPORT __declspec( dllexport )
|
||||
# else
|
||||
# define SMESHCLIENT_EXPORT __declspec( dllimport )
|
||||
|
@ -30,7 +30,7 @@
|
||||
#define SMESH_TYPE_HEADER
|
||||
|
||||
#ifdef WNT
|
||||
#if defined SMESHFILTERSSELECTION_EXPORTS
|
||||
#if defined SMESHFILTERSSELECTION_EXPORTS || defined SMESHFiltersSelection_EXPORTS
|
||||
#define SMESHFILTERSSELECTION_EXPORT __declspec( dllexport )
|
||||
#else
|
||||
#define SMESHFILTERSSELECTION_EXPORT __declspec( dllimport )
|
||||
|
@ -26,7 +26,7 @@
|
||||
#define SMESH_SMESHGUI_HXX
|
||||
|
||||
#ifdef WNT
|
||||
#if defined SMESHGUI_EXPORTS
|
||||
#if defined SMESHGUI_EXPORTS || defined SMESH_EXPORTS
|
||||
#define SMESHGUI_EXPORT __declspec( dllexport )
|
||||
#else
|
||||
#define SMESHGUI_EXPORT __declspec( dllimport )
|
||||
|
@ -29,7 +29,7 @@
|
||||
#define _SMESH_I_SMESH_HXX_
|
||||
|
||||
#ifdef WNT
|
||||
#if defined SMESH_I_EXPORTS
|
||||
#if defined SMESH_I_EXPORTS || defined SMESHEngine_EXPORTS
|
||||
#define SMESH_I_EXPORT __declspec( dllexport )
|
||||
#else
|
||||
#define SMESH_I_EXPORT __declspec( dllimport )
|
||||
|
@ -27,7 +27,7 @@
|
||||
#define LIBSMESH_SWIG_H
|
||||
|
||||
#ifdef WNT
|
||||
#if defined SMESH_SWIG_EXPORTS
|
||||
#if defined SMESH_SWIG_EXPORTS || defined _libSMESH_Swig_EXPORTS
|
||||
#define SMESH_SWIG_EXPORT __declspec( dllexport )
|
||||
#else
|
||||
#define SMESH_SWIG_EXPORT __declspec( dllimport )
|
||||
|
@ -28,7 +28,7 @@
|
||||
#define _SMESH_StdMeshers_HXX_
|
||||
|
||||
#ifdef WNT
|
||||
#if defined STDMESHERS_EXPORTS
|
||||
#if defined STDMESHERS_EXPORTS || defined StdMeshers_EXPORTS
|
||||
#define STDMESHERS_EXPORT __declspec( dllexport )
|
||||
#else
|
||||
#define STDMESHERS_EXPORT __declspec( dllimport )
|
||||
|
@ -26,7 +26,7 @@
|
||||
#define SMESH_STDMESHERSGUI_HXX
|
||||
|
||||
#ifdef WNT
|
||||
#if defined STDMESHERSGUI_EXPORTS
|
||||
#if defined STDMESHERSGUI_EXPORTS || defined StdMeshersGUI_EXPORTS
|
||||
#define STDMESHERSGUI_EXPORT __declspec( dllexport )
|
||||
#else
|
||||
#define STDMESHERSGUI_EXPORT __declspec( dllimport )
|
||||
|
@ -28,7 +28,7 @@
|
||||
#define _SMESH_StdMeshers_I_HXX_
|
||||
|
||||
#ifdef WNT
|
||||
#if defined STDMESHERS_I_EXPORTS
|
||||
#if defined STDMESHERS_I_EXPORTS || defined StdMeshersEngine_EXPORTS
|
||||
#define STDMESHERS_I_EXPORT __declspec( dllexport )
|
||||
#else
|
||||
#define STDMESHERS_I_EXPORT __declspec( dllimport )
|
||||
|
Loading…
Reference in New Issue
Block a user