]> git.lyx.org Git - lyx.git/blob - development/cmake/config.h.cmake
Add the git commit (if applicable) to LyX version
[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 #define LYX_GIT_COMMIT_HASH "${LYX_GIT_COMMIT_HASH}"
43
44 #define PROGRAM_SUFFIX "${PROGRAM_SUFFIX}"
45 #define LYX_ABS_INSTALLED_DATADIR "${LYX_ABS_INSTALLED_DATADIR}"
46 #define LYX_ABS_INSTALLED_LOCALEDIR "${LYX_ABS_INSTALLED_LOCALEDIR}"
47 #define LYX_ABS_TOP_SRCDIR "${TOP_SRC_DIR}"
48
49 #cmakedefine USE_POSIX_PACKAGING 1
50 #cmakedefine USE_WINDOWS_PACKAGING 1
51 #cmakedefine USE_MACOSX_PACKAGING 1
52 #cmakedefine PATH_MAX ${PATH_MAX}
53
54 #cmakedefine WORDS_BIGENDIAN 1
55
56 #cmakedefine LYX_MERGE_FILES 1
57
58 #cmakedefine LYX_USE_TR1 1
59 #cmakedefine LYX_USE_TR1_REGEX 1
60
61 #cmakedefine Z_PREFIX 1
62
63 ${Include_used_spellchecker}
64
65 #cmakedefine AIKSAURUSLIB_FOUND 1
66 #ifdef AIKSAURUSLIB_FOUND
67 #define HAVE_LIBAIKSAURUS 1
68 #define AIKSAURUS_H_LOCATION "${AIKSAURUSLIB_H}"
69 #endif
70
71 #cmakedefine LYX_NLS 1
72 #ifdef LYX_NLS
73 #define ENABLE_NLS 1
74 #endif
75
76
77 #endif // config.h guard
78
79
80
81 // Unguarded cleanup of global namespace:
82
83 #ifdef ColorMode
84 #undef ColorMode
85 #endif
86
87 #ifdef FocusOut
88 #undef FocusOut
89 #endif
90
91 #ifdef FocusIn
92 #undef FocusIn
93 #endif
94
95 #ifdef KeyRelease
96 #undef KeyRelease
97 #endif
98
99 #ifdef CursorShape
100 #undef CursorShape
101 #endif
102
103 #ifdef IGNORE
104 #undef IGNORE
105 #endif
106
107 #ifdef GrayScale
108 #undef GrayScale
109 #endif
110
111 #ifdef Status
112 #undef Status
113 #endif
114
115 #ifdef IN
116 #undef IN
117 #endif
118
119 #ifdef KeyPress
120 #undef KeyPress
121 #endif
122