#ifndef __CPEXTENSIONS__CONFIG__H__ #define __CPEXTENSIONS__CONFIG__H__ #include /* * ========================================================================= * Identify OS * ========================================================================= */ #if defined( WIN32 ) || defined( _WIN32 ) || defined( __WIN32__ ) # define cpExtensions_SYS_WINDOWS # define cpExtensions_PATH_SEPARATOR '\\' # ifndef WIN32_LEAN_AND_MEAN # define WIN32_LEAN_AND_MEAN # endif # define NOMINMAX # include # include #elif defined( linux ) || defined( __linux ) # define cpExtensions_SYS_LINUX # define cpExtensions_PATH_SEPARATOR '/' #elif defined( __APPLE__ ) || defined( MACOSX ) || defined( macintosh ) || defined( Macintosh ) # define cpExtensions_SYS_MACOS # define cpExtensions_PATH_SEPARATOR '/' #elif defined( __FreeBSD__ ) || defined( __FreeBSD_kernel__ ) # define cpExtensions_SYS_FREEBSD # define cpExtensions_PATH_SEPARATOR '/' #else # error "This operating system is not supported by this project" #endif /* * ========================================================================= * Some global values * ========================================================================= */ #define cpExtensions_QT4_USED @QT4_FOUND@ #if cpExtensions_QT4_USED == 1 # define cpExtensions_QT4 #else // cpExtensions_QT4_USED == 1 # undef cpExtensions_QT4 #endif // cpExtensions_QT4_USED == 1 /* * ========================================================================= * Version numbers and strings * ========================================================================= */ #define cpExtensions_MAJOR_VERSION @prj_MAJ_VER@ #define cpExtensions_MINOR_VERSION @prj_MIN_VER@ #define cpExtensions_RELEASE_VERSION @prj_REL_VER@ #define cpExtensions_VERSION "@prj_VERSION@" #define cpExtensions_SHORT_VERSION "@prj_SHORT_VERSION@" /* * ========================================================================= * ITK related macros * ========================================================================= */ #include #define ITK_MANUAL_INSTANTIATION #ifndef ITK_DELETE_FUNCTION # define ITK_DELETE_FUNCTION #endif // ITK_DELETE_FUNCTION #ifndef ITK_OVERRIDE # define ITK_OVERRIDE #endif // ITK_OVERRIDE /* * ========================================================================= * VTK related macros * ========================================================================= */ #include #ifndef VTK_OVERRIDE # define VTK_OVERRIDE #endif // VTK_OVERRIDE #endif // __CPEXTENSIONS__CONFIG__H__ // eof - $RCSfile$