]> Creatis software - cpPlugins.git/blob - lib/cpExtensions/Config.h.in
075c7eb650c3e83d2934be6586b0d0d63770bb08
[cpPlugins.git] / lib / cpExtensions / Config.h.in
1 #ifndef __cpExtensions__Config__h__
2 #define __cpExtensions__Config__h__
3
4 #include <cpExtensions_Export.h>
5
6 /*
7  * =========================================================================
8  * Identify OS
9  * =========================================================================
10  */
11 #define @prj_NAME_OS@
12 #define cpExtensions_LIB_PREFIX     "@prj_NAME_LIB_PREFIX@"
13 #define cpExtensions_LIB_EXT        "@prj_NAME_LIB_EXT@"
14 #define cpExtensions_ENV_SEPARATOR  "@prj_NAME_ENV_SEPARATOR@"
15 #define cpExtensions_PATH_SEPARATOR '@prj_NAME_PATH_SEPARATOR@'
16
17 #ifdef cpPlugins_OS_Windows
18 #  ifndef WIN32_LEAN_AND_MEAN
19 #    define WIN32_LEAN_AND_MEAN
20 #  endif
21 #  define NOMINMAX
22 #  include <windows.h>
23 #  include <tchar.h>
24 #endif
25
26 /*
27  * =========================================================================
28  * Some global values
29  * =========================================================================
30  */
31
32 #define cpExtensions_QT4_USED @QT4_FOUND@
33 #if cpExtensions_QT4_USED == 1
34 #  define cpExtensions_QT4
35 #  define cpExtensions_QVTKWidget @cpPlugins_Qt4_VTKWidget@
36 #  include <@cpPlugins_Qt4_VTKWidget@.h>
37 #else // cpExtensions_QT4_USED == 1
38 #  undef cpExtensions_QT4
39 #endif // cpExtensions_QT4_USED == 1
40
41 /*
42  * =========================================================================
43  * Version numbers and strings
44  * =========================================================================
45  */
46
47 #define cpExtensions_MAJOR_VERSION   @prj_MAJOR_VERSION@
48 #define cpExtensions_MINOR_VERSION   @prj_MINOR_VERSION@
49 #define cpExtensions_RELEASE_VERSION @prj_RELEASE_VERSION@
50 #define cpExtensions_VERSION         "@prj_VERSION@"
51 #define cpExtensions_SHORT_VERSION   "@prj_SHORT_VERSION@"
52
53 /*
54  * =========================================================================
55  * Language related macros
56  * =========================================================================
57  */
58
59 #if __cplusplus >= 201103L
60 #  define cpExtensions_OVERRIDE override
61 #  define cpExtensions_DELETE_FUNCTION =delete
62 #  define cpExtensions_NULLPTR  nullptr
63 #  define cpExtensions_NOEXCEPT noexcept
64 #  define cpExtensions_HAS_CXX11_STATIC_ASSERT
65 #  define cpExtensions_HAS_CXX11_RVREF
66 #else
67 #  define cpExtensions_OVERRIDE
68 #  define cpExtensions_DELETE_FUNCTION
69 #  define cpExtensions_NULLPTR  NULL
70 #  define cpExtensions_NOEXCEPT throw()
71 #endif
72
73 #endif // __cpExtensions__Config__h__
74
75 // eof - $RCSfile$