1 #ifndef __cpExtensions__Config__h__
2 #define __cpExtensions__Config__h__
4 #include <cpExtensions_Export.h>
7 * =========================================================================
9 * =========================================================================
11 #define cpExtensions_OS_@CMAKE_SYSTEM_NAME@
12 #ifdef cpExtensions_OS_Windows
13 # define cpExtensions_LIB_PREFIX ""
14 # define cpExtensions_ENV_SEPARATOR ";"
15 # define cpExtensions_PATH_SEPARATOR '\\'
16 # define cpExtensions_LIB_EXT ".dll"
17 #else // cpExtensions_OS_Windows
18 # define cpExtensions_LIB_PREFIX "lib"
19 # define cpExtensions_ENV_SEPARATOR ":"
20 # define cpExtensions_PATH_SEPARATOR '/'
21 # ifdef cpExtensions_OS_Linux
22 # define cpExtensions_LIB_EXT ".so"
23 # else // cpExtensions_OS_Linux
24 # define cpExtensions_LIB_EXT ".dylib"
25 # endif // cpExtensions_OS_Linux
26 #endif // cpExtensions_OS_Windows
28 #ifdef cpExtensions_OS_Windows
29 # ifndef WIN32_LEAN_AND_MEAN
30 # define WIN32_LEAN_AND_MEAN
31 # endif // WIN32_LEAN_AND_MEAN
35 #endif // cpExtensions_OS_Windows
38 * =========================================================================
40 * =========================================================================
43 #define cpExtensions_QT4_USED @QT4_FOUND@
44 #if cpExtensions_QT4_USED == 1
45 # define cpExtensions_QT4
46 # define cpExtensions_QVTKWidget @cpPlugins_Qt4_VTKWidget@
47 # include <@cpPlugins_Qt4_VTKWidget@.h>
48 #else // cpExtensions_QT4_USED == 1
49 # undef cpExtensions_QT4
50 #endif // cpExtensions_QT4_USED == 1
53 * =========================================================================
54 * Version numbers and strings
55 * =========================================================================
58 #define cpExtensions_MAJOR_VERSION @prj_MAJOR_VERSION@
59 #define cpExtensions_MINOR_VERSION @prj_MINOR_VERSION@
60 #define cpExtensions_RELEASE_VERSION @prj_RELEASE_VERSION@
61 #define cpExtensions_VERSION "@prj_VERSION@"
62 #define cpExtensions_SHORT_VERSION "@prj_SHORT_VERSION@"
65 * =========================================================================
66 * Language related macros
67 * =========================================================================
70 #if __cplusplus >= 201103L
71 # define cpExtensions_OVERRIDE override
72 # define cpExtensions_DELETE_FUNCTION =delete
73 # define cpExtensions_NULLPTR nullptr
74 # define cpExtensions_NOEXCEPT noexcept
75 # define cpExtensions_HAS_CXX11_STATIC_ASSERT
76 # define cpExtensions_HAS_CXX11_RVREF
78 # define cpExtensions_OVERRIDE
79 # define cpExtensions_DELETE_FUNCTION
80 # define cpExtensions_NULLPTR NULL
81 # define cpExtensions_NOEXCEPT throw()
84 #endif // __cpExtensions__Config__h__