]> git.lyx.org Git - lyx.git/blob - development/cmake/config.h.cmake
Add support for enchant 2.x
[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 PACKAGE "${PACKAGE}"
28 #cmakedefine PACKAGE_VERSION "${PACKAGE_VERSION}"
29 #define PACKAGE_STRING "LyX ${PACKAGE_VERSION}"
30 #cmakedefine PACKAGE_BUGREPORT "${PACKAGE_BUGREPORT}"
31 #cmakedefine VERSION_INFO "${VERSION_INFO}"
32 #cmakedefine LYX_DIR_VER "${LYX_DIR_VER}"
33 #cmakedefine LYX_USERDIR_VER "${LYX_USERDIR_VER}"
34 #define LYX_MAJOR_VERSION ${LYX_MAJOR_VERSION}
35 #define LYX_MINOR_VERSION ${LYX_MINOR_VERSION}
36
37 #define PROGRAM_SUFFIX "${PROGRAM_SUFFIX}"
38 #define LYX_ABS_INSTALLED_DATADIR "${LYX_ABS_INSTALLED_DATADIR}"
39 #define LYX_ABS_INSTALLED_LOCALEDIR "${LYX_ABS_INSTALLED_LOCALEDIR}"
40 #define LYX_ABS_TOP_SRCDIR "${TOP_SRC_DIR}"
41
42 #cmakedefine USE_POSIX_PACKAGING 1
43 #cmakedefine USE_WINDOWS_PACKAGING 1
44 #cmakedefine USE_MACOSX_PACKAGING 1
45 #cmakedefine HAVE_DEF_PATH_MAX 1
46
47 #cmakedefine WORDS_BIGENDIAN 1
48
49 #cmakedefine LYX_MERGE_FILES 1
50
51 #cmakedefine LYX_USE_STD_REGEX 1
52
53 // Define if callstack can be printed
54 #cmakedefine LYX_CALLSTACK_PRINTING 1
55
56 // Define if std::string uses copy-on-write
57 #cmakedefine STD_STRING_USES_COW 1
58
59 // use libc++ provided by llvm instead of GNU libstdc++
60 #cmakedefine USE_LLVM_LIBCPP 1
61
62 // use GNU libstdc++ with C++11 ABI
63 #cmakedefine USE_GLIBCXX_CXX11_ABI 1
64
65 #cmakedefine Z_PREFIX 1
66
67 // Defined if QT=QT5 uses X11
68 #cmakedefine QPA_XCB 1
69
70 // Define if you have the Qt5X11Extras module
71 #cmakedefine HAVE_QT5_X11_EXTRAS 1
72
73 ${Include_used_spellchecker}
74
75 #cmakedefine AIKSAURUSLIB_FOUND 1
76 #ifdef AIKSAURUSLIB_FOUND
77 #define HAVE_LIBAIKSAURUS 1
78 #define AIKSAURUS_H_LOCATION "${AIKSAURUSLIB_H}"
79 #endif
80
81 #cmakedefine LYX_NLS 1
82 #ifdef LYX_NLS
83 #define ENABLE_NLS 1
84 #endif
85
86 #cmakedefine HAVE_DEF_MAKE_UNIQUE 1
87
88 // Define to 1 if std::call_once is supported by the compiler
89 #cmakedefine LYX_USE_STD_CALL_ONCE 1
90
91 // Define to 1 if enchant is version 2.x at least
92 #cmakedefine HAVE_ENCHANT2 1
93
94 #endif // config.h guard
95
96 #define MYTHES_H_LOCATION <${MYTHES_DIR}/mythes.hxx>
97
98 // Unguarded cleanup of global namespace:
99
100 #ifdef ColorMode
101 #undef ColorMode
102 #endif
103
104 #ifdef FocusOut
105 #undef FocusOut
106 #endif
107
108 #ifdef FocusIn
109 #undef FocusIn
110 #endif
111
112 #ifdef KeyRelease
113 #undef KeyRelease
114 #endif
115
116 #ifdef CursorShape
117 #undef CursorShape
118 #endif
119
120 #ifdef IGNORE
121 #undef IGNORE
122 #endif
123
124 #ifdef GrayScale
125 #undef GrayScale
126 #endif
127
128 #ifdef Status
129 #undef Status
130 #endif
131
132 #ifdef IN
133 #undef IN
134 #endif
135
136 #ifdef KeyPress
137 #undef KeyPress
138 #endif
139