VectorNav C++ Library
export.h
1 #ifndef _VN_UTIL_EXPORT_H
2 #define _VN_UTIL_EXPORT_H
3 
4 #if defined _WINDOWS && defined _BUILD_DLL
5  #if defined proglib_cpp_EXPORTS
6  #define vn_proglib_DLLEXPORT __declspec(dllexport)
7  #else
8  #define vn_proglib_DLLEXPORT __declspec(dllimport)
9  #endif
10 #else
11  #define vn_proglib_DLLEXPORT
12 #endif
13 
14 #if defined _WINDOWS && defined _BUILD_DLL
15  #if defined proglib_cpp_graphics_EXPORTS
16  #define vn_proglib_graphics_DLLEXPORT __declspec(dllexport)
17  #else
18  #define vn_proglib_graphics_DLLEXPORT __declspec(dllimport)
19  #endif
20 #else
21  #define vn_proglib_graphics_DLLEXPORT
22 #endif
23 
24 #endif