mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 11:52:25 +00:00
99160cd715
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34966 a592a061-630c-0410-9148-cb99ea01b6c8
126 lines
2.2 KiB
CMake
126 lines
2.2 KiB
CMake
/*
|
|
* \file config.h
|
|
* This file is part of LyX, the document processor.
|
|
* Licence details can be found in the file COPYING.
|
|
*
|
|
* This is the compilation configuration file for LyX.
|
|
* It was generated by cmake.
|
|
* You might want to change some of the defaults if something goes wrong
|
|
* during the compilation.
|
|
*/
|
|
|
|
#ifndef _CONFIG_H
|
|
#define _CONFIG_H
|
|
|
|
// obligatory flags
|
|
#define QT_NO_STL
|
|
#define QT_NO_KEYWORDS
|
|
#define HAVE_ICONV
|
|
|
|
#include "configCompiler.h"
|
|
|
|
#ifdef LYX_ENABLE_PCH
|
|
#include "pcheaders.h"
|
|
#endif
|
|
|
|
|
|
#cmakedefine PACKAGE "${PACKAGE}"
|
|
#cmakedefine PACKAGE_VERSION "${PACKAGE_VERSION}"
|
|
#define PACKAGE_STRING "LyX ${PACKAGE_VERSION}"
|
|
#cmakedefine PACKAGE_BUGREPORT "${PACKAGE_BUGREPORT}"
|
|
#cmakedefine LYX_DATE "${LYX_DATE}"
|
|
#cmakedefine VERSION_INFO "${VERSION_INFO}"
|
|
#cmakedefine LYX_DIR_VER "${LYX_DIR_VER}"
|
|
#cmakedefine LYX_USERDIR_VER "${LYX_USERDIR_VER}"
|
|
|
|
#define PROGRAM_SUFFIX "${PROGRAM_SUFFIX}"
|
|
#define LYX_ABS_INSTALLED_DATADIR "${LYX_ABS_INSTALLED_DATADIR}"
|
|
#define LYX_ABS_INSTALLED_LOCALEDIR "${LYX_ABS_INSTALLED_LOCALEDIR}"
|
|
#define LYX_ABS_TOP_SRCDIR "${TOP_SRC_DIR}"
|
|
|
|
#cmakedefine USE_POSIX_PACKAGING 1
|
|
#cmakedefine USE_WINDOWS_PACKAGING 1
|
|
#cmakedefine USE_MACOSX_PACKAGING 1
|
|
#cmakedefine PATH_MAX ${PATH_MAX}
|
|
|
|
#cmakedefine WORDS_BIGENDIAN 1
|
|
|
|
#cmakedefine LYX_MERGE_FILES 1
|
|
|
|
#cmakedefine LYX_USE_TR1 1
|
|
#cmakedefine LYX_USE_TR1_REGEX 1
|
|
|
|
#cmakedefine ASPELL_FOUND 1
|
|
#ifdef ASPELL_FOUND
|
|
#define USE_ASPELL 1
|
|
#endif
|
|
|
|
#cmakedefine AIKSAURUSLIB_FOUND 1
|
|
#ifdef AIKSAURUSLIB_FOUND
|
|
#define HAVE_LIBAIKSAURUS 1
|
|
#define AIKSAURUS_H_LOCATION "${AIKSAURUSLIB_H}"
|
|
#endif
|
|
|
|
#cmakedefine ENCHANT_FOUND 1
|
|
#ifdef ENCHANT_FOUND
|
|
#define USE_ENCHANT 1
|
|
#endif
|
|
|
|
#cmakedefine HUNSPELL_FOUND 1
|
|
#ifdef HUNSPELL_FOUND
|
|
#define USE_HUNSPELL 1
|
|
#endif
|
|
|
|
#cmakedefine LYX_NLS 1
|
|
#ifdef LYX_NLS
|
|
#define ENABLE_NLS
|
|
#endif
|
|
|
|
|
|
#endif // config.h guard
|
|
|
|
|
|
|
|
// Unguarded cleanup of global namespace:
|
|
|
|
#ifdef ColorMode
|
|
#undef ColorMode
|
|
#endif
|
|
|
|
#ifdef FocusOut
|
|
#undef FocusOut
|
|
#endif
|
|
|
|
#ifdef FocusIn
|
|
#undef FocusIn
|
|
#endif
|
|
|
|
#ifdef KeyRelease
|
|
#undef KeyRelease
|
|
#endif
|
|
|
|
#ifdef CursorShape
|
|
#undef CursorShape
|
|
#endif
|
|
|
|
#ifdef IGNORE
|
|
#undef IGNORE
|
|
#endif
|
|
|
|
#ifdef GrayScale
|
|
#undef GrayScale
|
|
#endif
|
|
|
|
#ifdef Status
|
|
#undef Status
|
|
#endif
|
|
|
|
#ifdef IN
|
|
#undef IN
|
|
#endif
|
|
|
|
#ifdef KeyPress
|
|
#undef KeyPress
|
|
#endif
|
|
|