-#ifndef __@prj_NAME@__h__
-#define __@prj_NAME@__h__
+#ifndef __@prj_NAME@__Config__h__
+#define __@prj_NAME@__Config__h__
#define ITK_MANUAL_INSTANTIATION
#include <@prj_NAME@_Export.h>
* Identify OS
* =========================================================================
*/
-#define @prj_NAME_OS@
-#define @prj_NAME@_LIB_PREFIX "@prj_NAME_LIB_PREFIX@"
-#define @prj_NAME@_LIB_EXT "@prj_NAME_LIB_EXT@"
-#define @prj_NAME@_ENV_SEPARATOR "@prj_NAME_ENV_SEPARATOR@"
-#define @prj_NAME@_PATH_SEPARATOR "@prj_NAME_PATH_SEPARATOR@"
+#define @prj_NAME@_OS_@CMAKE_SYSTEM_NAME@
+#ifdef @prj_NAME@_OS_Windows
+# define @prj_NAME@_LIB_PREFIX ""
+# define @prj_NAME@_ENV_SEPARATOR ";"
+# define @prj_NAME@_PATH_SEPARATOR '\\'
+# define @prj_NAME@_LIB_EXT ".dll"
+#else // @prj_NAME@_OS_Windows
+# define @prj_NAME@_LIB_PREFIX "lib"
+# define @prj_NAME@_ENV_SEPARATOR ":"
+# define @prj_NAME@_PATH_SEPARATOR '/'
+# ifdef @prj_NAME@_OS_Linux
+# define @prj_NAME@_LIB_EXT ".so"
+# else // @prj_NAME@_OS_Linux
+# define @prj_NAME@_LIB_EXT ".dylib"
+# endif // @prj_NAME@_OS_Linux
+#endif // @prj_NAME@_OS_Windows
-#ifdef @prj_NAME@_Windows
+#ifdef @prj_NAME@_OS_Windows
# ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN
-# endif
+# endif // WIN32_LEAN_AND_MEAN
# define NOMINMAX
# include <windows.h>
# include <tchar.h>
-#endif
+#endif // @prj_NAME@_OS_Windows
/*
* =========================================================================
#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
/*
* =========================================================================
return( dynamic_cast< const Self* >( other ) != NULL ); \
}
-#endif // __@prj_NAME@__h__
+#endif // __@prj_NAME@__Config__h__
// eof - $RCSfile$