Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / API_Bilat_Image_GL / INC / envGLImage.h
1 /**
2 * GLImages project
3 * version : 0.0.3
4 *
5 * Cédric Bilat cedric.bilat@he-arc.ch
6 * Stähli Joaquim joaquim.stahli@he-arc.ch
7 */
8
9 //PRIVATE
10 #ifndef ENV_GLIMAGE_H
11 #define ENV_GLIMAGE_H
12
13 #include "dllHelper.h"
14
15 // CBI_GL_IMAGE is used for the public API symbols. It either DLL imports or DLL exports (or does nothing for static build)
16 // CBI_GL_IMAGE_LOCAL is used for non-api symbols.
17
18 #ifdef CBI_GLIMAGE_DLL // defined if API is compiled as a DLL
19
20 #ifdef CBI_GLIMAGE_EXPORT // defined if we are building the API DLL (instead of using it)
21 #define CBI_GLIMAGE HELPER_DLL_EXPORT
22 #else
23 #define CBI_GLIMAGE HELPER_DLL_IMPORT
24 #endif // GLIMAGE_DLL_EXPORT
25 #define CBI_GLIMAGE_LOCAL HELPER_DLL_LOCAL
26 #else // GLIMAGE_USE_DLL is not defined: this means API is a static lib.
27 #define CBI_GLIMAGE
28 #define CBI_GLIMAGE_LOCAL
29 #endif
30
31 #endif