#ifndef __CPPLUGINS__CONFIG__H__ #define __CPPLUGINS__CONFIG__H__ #include #include /* * ========================================================================= * Identify OS * ========================================================================= */ #if defined( WIN32 ) || defined( _WIN32 ) || defined( __WIN32__ ) # define cpPlugins_SYS_WINDOWS # define cpPlugins_LIB_PREFIX "" # define cpPlugins_LIB_EXT "dll" # define cpPlugins_SEPARATOR ";" # define cpPlugins_PATH_SEPARATOR '/' # ifndef WIN32_LEAN_AND_MEAN # define WIN32_LEAN_AND_MEAN # endif # define NOMINMAX # include # include #elif defined( linux ) || defined( __linux ) # define cpPlugins_SYS_LINUX # define cpPlugins_LIB_PREFIX "lib" # define cpPlugins_LIB_EXT "so" # define cpPlugins_SEPARATOR ":" # define cpPlugins_PATH_SEPARATOR '/' #elif defined( __APPLE__ ) || defined( MACOSX ) || defined( macintosh ) || defined( Macintosh ) # define cpPlugins_SYS_MACOS # define cpPlugins_LIB_PREFIX "lib" # define cpPlugins_LIB_EXT "dylib" # define cpPlugins_SEPARATOR ":" # define cpPlugins_PATH_SEPARATOR '/' #elif defined( __FreeBSD__ ) || defined( __FreeBSD_kernel__ ) # define cpPlugins_SYS_FREEBSD # define cpPlugins_LIB_PREFIX "lib" # define cpPlugins_LIB_EXT "so" # define cpPlugins_SEPARATOR ":" # define cpPlugins_PATH_SEPARATOR '/' #else # error "This operating system is not supported by cpPlugins" #endif /* * ========================================================================= * Some global values * ========================================================================= */ #define cpPluginsObject #define cpPlugins_PATHS "cpPlugins_PATHS" #define cpPlugins_CONFIG "cpPlugins_Libraries.config" #define cpPlugins_QT4_USED @QT4_FOUND@ #if cpPlugins_QT4_USED == 1 # define cpPlugins_QT4 #else // cpPlugins_QT4_USED == 1 # undef cpPlugins_QT4 #endif // cpPlugins_QT4_USED == 1 /* * ========================================================================= * Version numbers and strings * ========================================================================= */ #define cpPlugins_MAJ_VERSION @prj_MAJ_VER@ #define cpPlugins_MIN_VERSION @prj_MIN_VER@ #define cpPlugins_REL_VERSION @prj_REL_VER@ #define cpPlugins_VERSION "@prj_VER@" #define cpPlugins_SHORT_VERSION "@prj_sVER@" /* * ========================================================================= * 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 // __CPPLUGINS__CONFIG__H__ // eof - $RCSfile$