Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / API_Bilat_Image_GL_Cuda / INC / envGLImageCudas.h
diff --git a/WCudaMSE/API_Bilat_Image_GL_Cuda/INC/envGLImageCudas.h b/WCudaMSE/API_Bilat_Image_GL_Cuda/INC/envGLImageCudas.h
new file mode 100755 (executable)
index 0000000..c07c11d
--- /dev/null
@@ -0,0 +1,27 @@
+/**\r
+ * GLTools project\r
+ * version : 0.0.2\r
+ *\r
+ * Cédric Bilat                cedric.bilat@he-arc.ch\r
+ * Stähli Joaquim      joaquim.stahli@he-arc.ch\r
+ */\r
+\r
+//PRIVATE\r
+#ifndef ENV_GLIMAGE_CUDA_H\r
+#define ENV_GLIMAGE_CUDA_H\r
+\r
+#include "dllHelper.h"\r
+\r
+#ifdef CBI_GLIMAGE_CUDA_DLL // defined if API is compiled as a DLL\r
+    #ifdef CBI_GLIMAGE_CUDA_EXPORT // defined if we are building the API DLL (instead of using it)\r
+       #define CBI_GLIMAGE_CUDA HELPER_DLL_EXPORT\r
+    #else\r
+       #define CBI_GLIMAGE_CUDA HELPER_DLL_IMPORT\r
+    #endif // GLIMAGE_DLL_EXPORT\r
+    #define CBI_GLIMAGE_CUDA_LOCAL HELPER_DLL_LOCAL\r
+#else // GLIMAGE_USE_DLL is not defined: this means API is a static lib.\r
+    #define CBI_GLIMAGE_CUDA\r
+    #define CBI_GLIMAGE_CUDA_LOCAL\r
+#endif\r
+\r
+#endif  /* ENV_GLIMAGE_H */\r