* Identify OS
* =========================================================================
*/
-#define @prj_NAME_OS@
-#define cpExtensions_LIB_PREFIX "@prj_NAME_LIB_PREFIX@"
-#define cpExtensions_LIB_EXT "@prj_NAME_LIB_EXT@"
-#define cpExtensions_ENV_SEPARATOR "@prj_NAME_ENV_SEPARATOR@"
-#define cpExtensions_PATH_SEPARATOR '@prj_NAME_PATH_SEPARATOR@'
-
-#ifdef cpPlugins_OS_Windows
-# ifndef WIN32_LEAN_AND_MEAN
-# define WIN32_LEAN_AND_MEAN
-# endif
-# define NOMINMAX
-# include <windows.h>
-# include <tchar.h>
-#endif
+#define cpExtensions_OS_@CMAKE_SYSTEM_NAME@
/*
* =========================================================================
* Some global values
* =========================================================================
*/
-
-#define cpExtensions_QT4_USED @QT4_FOUND@
-#if cpExtensions_QT4_USED == 1
-# define cpExtensions_QT4
+#define cpExtensions_QT4_@QT4_FOUND@
+#ifdef cpExtensions_QT4_TRUE
+# ifndef cpExtensions_QT4
+# define cpExtensions_QT4
+# endif // cpExtensions_QT4
# define cpExtensions_QVTKWidget @cpPlugins_Qt4_VTKWidget@
# include <@cpPlugins_Qt4_VTKWidget@.h>
-#else // cpExtensions_QT4_USED == 1
+#else // cpExtensions_QT4_TRUE
# undef cpExtensions_QT4
-#endif // cpExtensions_QT4_USED == 1
+#endif // cpExtensions_QT4_TRUE
/*
* =========================================================================
# define cpExtensions_NOEXCEPT throw()
#endif
+// -------------------------------------------------------------------------
+#ifdef cpExtensions_OS_Windows
+# define cpExtensions_SPRINTF( B, S, O ) sprintf_s( B, S, "%s", O );
+#else // cpExtensions_OS_Windows
+# define cpExtensions_SPRINTF( B, S, O ) std::sprintf( B, "%s", O );
+#endif // cpExtensions_OS_Windows
+
#endif // __cpExtensions__Config__h__
// eof - $RCSfile$