WSF
WsfXIO_SimExport.hpp
Go to the documentation of this file.
1// ****************************************************************************
2// CUI
3//
4// The Advanced Framework for Simulation, Integration, and Modeling (AFSIM)
5//
6// Copyright 2003-2015 The Boeing Company. All rights reserved.
7//
8// The use, dissemination or disclosure of data in this file is subject to
9// limitation or restriction. See accompanying README and LICENSE for details.
10// ****************************************************************************
11
12#if !defined(WsfXIO_SimExport_hpp)
13#define WsfXIO_SimExport_hpp
14
15#if defined(_WIN32)
16
17#pragma warning(disable : 4251)
18#pragma warning(disable : 4786)
19
20#ifdef xio_sim_EXPORTS
21#define XIO_SIM_BUILD_DLL
22#endif
23#if !defined(XIO_SIM_BUILD_DLL) && defined(SWDEV_ALL_USE_DLL)
24#define XIO_SIM_USE_DLL
25#endif
26
27#if defined(XIO_SIM_BUILD_DLL) // Creating DLL (i.e. exporting)
28#define WSF_EXPORT __declspec(dllexport)
29#elif defined(XIO_SIM_USE_DLL) // Using DLL (i.e. importing).
30#define WSF_EXPORT __declspec(dllimport)
31#else
32#define WSF_EXPORT // Compiling statically.
33#endif
34#else
35#define WSF_EXPORT
36#endif
37
38#endif // WsfExport_hpp
Copyrights Multiple, All Rights Reserved