Base.h
1 //##################################################################################################
2 //
3 // Ceetron Export
4 // Component: VTFx
5 //
6 // --------------------------------------------------------------------------------------------
7 // Copyright (C) 2015, Ceetron AS
8 // This is UNPUBLISHED PROPRIETARY SOURCE CODE of Ceetron AS. The contents of this file may
9 // not be disclosed to third parties, copied or duplicated in any form, in whole or in part,
10 // without the prior written permission of Ceetron AS.
11 //##################################################################################################
12 
13 #pragma once
14 
15 #include "CeeCore/Base.h"
16 
17 
18 // Define CEE_STATIC_LIBS when using of Ceetron Export (DLL versions static linking is the default)
19 // To build a static linking version of this component, both CEE_STATIC_LIBS and CEE_EXP_BUILD_DLL_EXPORT must be defined.
20 #ifdef WIN32
21  #ifdef CEE_STATIC_LIBS
22  #define CEE_VTFX_EXPORT
23  #else
24  #ifdef CEE_VTFX_BUILD_DLL_VTFX
25  #define CEE_VTFX_EXPORT __declspec(dllexport)
26  #else
27  #define CEE_VTFX_EXPORT __declspec(dllimport)
28  #endif
29  #endif // CEE_STATIC_LIBS
30 #else // WIN32
31  #define CEE_VTFX_EXPORT
32 #endif //WIN32