1 #ifndef __@LIBRARY_NAME@_EXPORT_h_INCLUDED__
2 #define __@LIBRARY_NAME@_EXPORT_h_INCLUDED__
4 // Automatically generated file which defines
5 // the symbols @LIBRARY_NAME@_EXPORT and @LIBRARY_NAME@_CDECL
6 // to be used for the definition of classes or functions
7 // which must be exported when the lib is built as a shared lib on Windows
8 // and imported when the shared lib is used by another program
10 #if defined(_WIN32) && defined (@LIBRARY_NAME@_BUILD_SHARED)
11 #ifdef @LIBRARY_NAME@_EXPORT_SYMBOLS
12 #define @LIBRARY_NAME@_EXPORT __declspec( dllexport )
14 #define @LIBRARY_NAME@_EXPORT __declspec( dllimport )
16 #define @LIBRARY_NAME@_CDECL __cdecl
18 #define @LIBRARY_NAME@_EXPORT
19 #define @LIBRARY_NAME@_CDECL
20 #endif // defined(_WIN32)