]> git.lyx.org Git - lyx.git/blob - development/cmake/config.h.cmake
d096be750b0eee3e9bb554987f28ad6b89370618
[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_TR1 1
58 #cmakedefine LYX_USE_TR1_REGEX 1
59
60 // Define if callstack can be printed
61 #cmakedefine LYX_CALLSTACK_PRINTING 1
62
63 // Define if std::string uses copy-on-write
64 #cmakedefine STD_STRING_USES_COW 1
65
66 #cmakedefine Z_PREFIX 1
67
68 ${Include_used_spellchecker}
69
70 #cmakedefine AIKSAURUSLIB_FOUND 1
71 #ifdef AIKSAURUSLIB_FOUND
72 #define HAVE_LIBAIKSAURUS 1
73 #define AIKSAURUS_H_LOCATION "${AIKSAURUSLIB_H}"
74 #endif
75
76 #cmakedefine LYX_NLS 1
77 #ifdef LYX_NLS
78 #define ENABLE_NLS 1
79 #endif
80
81
82 #endif // config.h guard
83
84
85
86 // Unguarded cleanup of global namespace:
87
88 #ifdef ColorMode
89 #undef ColorMode
90 #endif
91
92 #ifdef FocusOut
93 #undef FocusOut
94 #endif
95
96 #ifdef FocusIn
97 #undef FocusIn
98 #endif
99
100 #ifdef KeyRelease
101 #undef KeyRelease
102 #endif
103
104 #ifdef CursorShape
105 #undef CursorShape
106 #endif
107
108 #ifdef IGNORE
109 #undef IGNORE
110 #endif
111
112 #ifdef GrayScale
113 #undef GrayScale
114 #endif
115
116 #ifdef Status
117 #undef Status
118 #endif
119
120 #ifdef IN
121 #undef IN
122 #endif
123
124 #ifdef KeyPress
125 #undef KeyPress
126 #endif
127