]> git.lyx.org Git - lyx.git/blob - development/cmake/config.h.cmake
Mingw-w64 build fixes for long long
[lyx.git] / development / cmake / config.h.cmake
1 /*
2  * \file config.h
3  * This file is part of LyX, the document processor.
4  * Licence details can be found in the file COPYING.
5  *
6  * This is the compilation configuration file for LyX.
7  * It was generated by cmake.
8  * You might want to change some of the defaults if something goes wrong
9  * during the compilation.
10  */
11
12 #ifndef _CONFIG_H
13 #define _CONFIG_H
14
15 // obligatory flags
16 #define QT_NO_STL 1
17 #define QT_NO_KEYWORDS 1
18 #define HAVE_ICONV 1
19
20 #include "configCompiler.h"
21
22 #ifdef LYX_ENABLE_PCH
23 #include "pcheaders.h"
24 #endif
25
26
27 #cmakedefine LYX_DEVEL_VERSION 1
28 #if defined(LYX_DEVEL_VERSION)
29         #define DEVEL_VERSION 1
30 #else
31         #undef DEVEL_VERSION
32 #endif
33 #cmakedefine PACKAGE "${PACKAGE}"
34 #cmakedefine PACKAGE_VERSION "${PACKAGE_VERSION}"
35 #define PACKAGE_STRING "LyX ${PACKAGE_VERSION}"
36 #cmakedefine PACKAGE_BUGREPORT "${PACKAGE_BUGREPORT}"
37 #cmakedefine VERSION_INFO "${VERSION_INFO}"
38 #cmakedefine LYX_DIR_VER "${LYX_DIR_VER}"
39 #cmakedefine LYX_USERDIR_VER "${LYX_USERDIR_VER}"
40 #define LYX_MAJOR_VERSION ${LYX_MAJOR_VERSION}
41 #define LYX_MINOR_VERSION ${LYX_MINOR_VERSION}
42
43 #define PROGRAM_SUFFIX "${PROGRAM_SUFFIX}"
44 #define LYX_ABS_INSTALLED_DATADIR "${LYX_ABS_INSTALLED_DATADIR}"
45 #define LYX_ABS_INSTALLED_LOCALEDIR "${LYX_ABS_INSTALLED_LOCALEDIR}"
46 #define LYX_ABS_TOP_SRCDIR "${TOP_SRC_DIR}"
47
48 #cmakedefine USE_POSIX_PACKAGING 1
49 #cmakedefine USE_WINDOWS_PACKAGING 1
50 #cmakedefine USE_MACOSX_PACKAGING 1
51 #cmakedefine PATH_MAX ${PATH_MAX}
52
53 #cmakedefine WORDS_BIGENDIAN 1
54
55 #cmakedefine LYX_MERGE_FILES 1
56
57 #cmakedefine LYX_USE_STD_REGEX 1
58
59 // Define if callstack can be printed
60 #cmakedefine LYX_CALLSTACK_PRINTING 1
61
62 // Define if std::string uses copy-on-write
63 #cmakedefine STD_STRING_USES_COW 1
64
65 // use libc++ provided by llvm instead of GNU libstdc++
66 #cmakedefine USE_LLVM_LIBCPP 1
67
68 // use GNU libstdc++ with C++11 ABI
69 #cmakedefine USE_GLIBCXX_CXX11_ABI 1
70
71 // use GNU c++11 extensions
72 #cmakedefine LYX_USE_CXX11 1
73 #ifndef LYX_USE_CXX11
74   #if __cplusplus >= 201103L || defined(__GXX_EXPERIMENTAL_CXX0X__)
75     #error "Conflicting defines of LYX_USE_CXX11"
76   #endif
77 #endif
78 #cmakedefine Z_PREFIX 1
79
80 // Defined if QT=QT5 uses X11
81 #cmakedefine QPA_XCB 1
82
83 ${Include_used_spellchecker}
84
85 #cmakedefine AIKSAURUSLIB_FOUND 1
86 #ifdef AIKSAURUSLIB_FOUND
87 #define HAVE_LIBAIKSAURUS 1
88 #define AIKSAURUS_H_LOCATION "${AIKSAURUSLIB_H}"
89 #endif
90
91 #cmakedefine LYX_NLS 1
92 #ifdef LYX_NLS
93 #define ENABLE_NLS 1
94 #endif
95
96
97 #endif // config.h guard
98
99
100
101 // Unguarded cleanup of global namespace:
102
103 #ifdef ColorMode
104 #undef ColorMode
105 #endif
106
107 #ifdef FocusOut
108 #undef FocusOut
109 #endif
110
111 #ifdef FocusIn
112 #undef FocusIn
113 #endif
114
115 #ifdef KeyRelease
116 #undef KeyRelease
117 #endif
118
119 #ifdef CursorShape
120 #undef CursorShape
121 #endif
122
123 #ifdef IGNORE
124 #undef IGNORE
125 #endif
126
127 #ifdef GrayScale
128 #undef GrayScale
129 #endif
130
131 #ifdef Status
132 #undef Status
133 #endif
134
135 #ifdef IN
136 #undef IN
137 #endif
138
139 #ifdef KeyPress
140 #undef KeyPress
141 #endif
142