* =========================================================================
*/
#define cpExtensions_OS_@CMAKE_SYSTEM_NAME@
-#ifdef cpExtensions_OS_Windows
-# define cpExtensions_LIB_PREFIX ""
-# define cpExtensions_ENV_SEPARATOR ";"
-# define cpExtensions_PATH_SEPARATOR '\\'
-# define cpExtensions_LIB_EXT ".dll"
-#else // cpExtensions_OS_Windows
-# define cpExtensions_LIB_PREFIX "lib"
-# define cpExtensions_ENV_SEPARATOR ":"
-# define cpExtensions_PATH_SEPARATOR '/'
-# ifdef cpExtensions_OS_Linux
-# define cpExtensions_LIB_EXT ".so"
-# else // cpExtensions_OS_Linux
-# define cpExtensions_LIB_EXT ".dylib"
-# endif // cpExtensions_OS_Linux
-#endif // cpExtensions_OS_Windows
-
-#ifdef cpExtensions_OS_Windows
-# ifndef WIN32_LEAN_AND_MEAN
-# define WIN32_LEAN_AND_MEAN
-# endif // WIN32_LEAN_AND_MEAN
-# define NOMINMAX
-# include <windows.h>
-# include <tchar.h>
-#endif // cpExtensions_OS_Windows
/*
* =========================================================================
* 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$