X-Git-Url: http://git.euphorik.ch/index.cgi?a=blobdiff_plain;f=WCudaMSE%2FAPI_Bilat_Image_GL%2FINC%2FenvGLImage.h;fp=WCudaMSE%2FAPI_Bilat_Image_GL%2FINC%2FenvGLImage.h;h=c62b3b8f62987339eb9764c132b010e870e908ec;hb=8d08c12b29c2a14684f35c023ee39e694bb80d25;hp=0000000000000000000000000000000000000000;hpb=226de81f7e1f1fbf4ac79d0d089e8a05ec7159a0;p=GPU.git diff --git a/WCudaMSE/API_Bilat_Image_GL/INC/envGLImage.h b/WCudaMSE/API_Bilat_Image_GL/INC/envGLImage.h new file mode 100755 index 0000000..c62b3b8 --- /dev/null +++ b/WCudaMSE/API_Bilat_Image_GL/INC/envGLImage.h @@ -0,0 +1,31 @@ +/** + * GLImages project + * version : 0.0.3 + * + * Cédric Bilat cedric.bilat@he-arc.ch + * Stähli Joaquim joaquim.stahli@he-arc.ch + */ + +//PRIVATE +#ifndef ENV_GLIMAGE_H +#define ENV_GLIMAGE_H + +#include "dllHelper.h" + +// CBI_GL_IMAGE is used for the public API symbols. It either DLL imports or DLL exports (or does nothing for static build) +// CBI_GL_IMAGE_LOCAL is used for non-api symbols. + +#ifdef CBI_GLIMAGE_DLL // defined if API is compiled as a DLL + + #ifdef CBI_GLIMAGE_EXPORT // defined if we are building the API DLL (instead of using it) + #define CBI_GLIMAGE HELPER_DLL_EXPORT + #else + #define CBI_GLIMAGE HELPER_DLL_IMPORT + #endif // GLIMAGE_DLL_EXPORT + #define CBI_GLIMAGE_LOCAL HELPER_DLL_LOCAL +#else // GLIMAGE_USE_DLL is not defined: this means API is a static lib. + #define CBI_GLIMAGE + #define CBI_GLIMAGE_LOCAL +#endif + +#endif