1 #ifndef __CPPLUGINS__CONFIG__H__
2 #define __CPPLUGINS__CONFIG__H__
4 #include <cpPlugins/cpPlugins_Export.h>
8 * =========================================================================
10 * =========================================================================
13 #if defined( WIN32 ) || defined( _WIN32 ) || defined( __WIN32__ )
14 # define cpPlugins_SYS_WINDOWS
15 # define cpPlugins_LIB_PREFIX ""
16 # define cpPlugins_LIB_EXT "dll"
17 # define cpPlugins_SEPARATOR ";"
18 # define cpPlugins_PATH_SEPARATOR '/'
19 # ifndef WIN32_LEAN_AND_MEAN
20 # define WIN32_LEAN_AND_MEAN
25 #elif defined( linux ) || defined( __linux )
26 # define cpPlugins_SYS_LINUX
27 # define cpPlugins_LIB_PREFIX "lib"
28 # define cpPlugins_LIB_EXT "so"
29 # define cpPlugins_SEPARATOR ":"
30 # define cpPlugins_PATH_SEPARATOR '/'
31 #elif defined( __APPLE__ ) || defined( MACOSX ) || defined( macintosh ) || defined( Macintosh )
32 # define cpPlugins_SYS_MACOS
33 # define cpPlugins_LIB_PREFIX "lib"
34 # define cpPlugins_LIB_EXT "dylib"
35 # define cpPlugins_SEPARATOR ":"
36 # define cpPlugins_PATH_SEPARATOR '/'
37 #elif defined( __FreeBSD__ ) || defined( __FreeBSD_kernel__ )
38 # define cpPlugins_SYS_FREEBSD
39 # define cpPlugins_LIB_PREFIX "lib"
40 # define cpPlugins_LIB_EXT "so"
41 # define cpPlugins_SEPARATOR ":"
42 # define cpPlugins_PATH_SEPARATOR '/'
44 # error "This operating system is not supported by cpPlugins"
48 * =========================================================================
50 * =========================================================================
53 #define cpPluginsObject
54 #define cpPlugins_PATHS "cpPlugins_PATHS"
55 #define cpPlugins_CONFIG "cpPlugins_Libraries.config"
56 #define cpPlugins_QT4_USED @QT4_FOUND@
57 #if cpPlugins_QT4_USED == 1
58 # define cpPlugins_QT4
59 #else // cpPlugins_QT4_USED == 1
61 #endif // cpPlugins_QT4_USED == 1
64 * =========================================================================
65 * Version numbers and strings
66 * =========================================================================
69 #define cpPlugins_MAJ_VERSION @prj_MAJ_VER@
70 #define cpPlugins_MIN_VERSION @prj_MIN_VER@
71 #define cpPlugins_REL_VERSION @prj_REL_VER@
72 #define cpPlugins_VERSION "@prj_VER@"
73 #define cpPlugins_SHORT_VERSION "@prj_sVER@"
76 * =========================================================================
78 * =========================================================================
82 #define ITK_MANUAL_INSTANTIATION
83 #ifndef ITK_DELETE_FUNCTION
84 # define ITK_DELETE_FUNCTION
85 #endif // ITK_DELETE_FUNCTION
88 #endif // ITK_OVERRIDE
91 * =========================================================================
93 * =========================================================================
96 #include <vtkConfigure.h>
99 #endif // VTK_OVERRIDE
101 #endif // __CPPLUGINS__CONFIG__H__