]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Config.h.in
Windows compilation: 3/3
[cpPlugins.git] / lib / cpPlugins / Config.h.in
index dea43e50b4182ccfeef1e2c05431a26a6372d0d9..1c0f1066d1a4716fa70ad353ac2e8cf14909175c 100644 (file)
 #define @prj_NAME@_ENV_SEPARATOR  "@prj_NAME_ENV_SEPARATOR@"
 #define @prj_NAME@_PATH_SEPARATOR "@prj_NAME_PATH_SEPARATOR@"
 
-#ifdef @prj_NAME@_Windows
+#ifdef @prj_NAME@_OS_Windows
 #  ifndef WIN32_LEAN_AND_MEAN
 #    define WIN32_LEAN_AND_MEAN
 #  endif
 #  define NOMINMAX
 #  include <windows.h>
 #  include <tchar.h>
-#endif
+#endif // @prj_NAME@_OS_Windows
 
 /*
  * =========================================================================
@@ -53,6 +53,7 @@
 #define @prj_NAME@_RELEASE_VERSION @prj_REL_VER@
 #define @prj_NAME@_VERSION         "@prj_VERSION@"
 #define @prj_NAME@_SHORT_VERSION   "@prj_SHORT_VERSION@"
+#define @prj_NAME@_OpenGL_BackEnd_@VTK_RENDERING_BACKEND@
 
 /*
  * =========================================================================
 #  define @prj_NAME@_NOEXCEPT noexcept
 #  define @prj_NAME@_HAS_CXX11_STATIC_ASSERT
 #  define @prj_NAME@_HAS_CXX11_RVREF
-#else
+#else // __cplusplus >= 201103L
 #  define @prj_NAME@_OVERRIDE
 #  define @prj_NAME@_DELETE_FUNCTION
 #  define @prj_NAME@_NULLPTR  NULL
 #  define @prj_NAME@_NOEXCEPT throw()
-#endif
+#endif // __cplusplus >= 201103L
 
 /*
  * =========================================================================