Warning, /office/kexi/src/config-kexi.h.cmake is written in an unsupported language. File is not indexed.

0001 /* This file is part of the KDE project
0002    Copyright (C) 2006-2018 Jarosław Staniek <staniek@kde.org>
0003 
0004    This library is free software; you can redistribute it and/or
0005    modify it under the terms of the GNU Library General Public
0006    License as published by the Free Software Foundation; either
0007    version 2 of the License, or (at your option) any later version.
0008 
0009    This library is distributed in the hope that it will be useful,
0010    but WITHOUT ANY WARRANTY; without even the implied warranty of
0011    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
0012    Library General Public License for more details.
0013 
0014    You should have received a copy of the GNU Library General Public License
0015    along with this library; see the file COPYING.LIB.  If not, write to
0016    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
0017  * Boston, MA 02110-1301, USA.
0018 */
0019 
0020 #ifndef KEXI_CONFIG_H
0021 #define KEXI_CONFIG_H
0022 
0023 /* config-kexi.h. Generated by cmake from config-kexi.h.cmake */
0024 
0025 /*! @file config-kexi.h
0026     Global Kexi configuration (build time)
0027 */
0028 
0029 #include <config-kdb.h>
0030 
0031 //! @def KEXI_DESKTOP
0032 //! @brief If defined, a desktop version of Kexi is compiled
0033 #cmakedefine KEXI_DESKTOP
0034 
0035 //! @def KEXI_MOBILE
0036 //! @brief If defined, a mobile version of Kexi is compiled
0037 #cmakedefine KEXI_MOBILE
0038 
0039 /* define if you have libreadline available */
0040 /* TODO: detect #define HAVE_READLINE 1 */
0041 
0042 //! @def HAVE_UNAME
0043 //! @brief If defined, uname(2) is available
0044 #cmakedefine HAVE_UNAME 1
0045 
0046 /*! For KexiUtils::encoding() */
0047 #cmakedefine01 HAVE_LANGINFO_H
0048 
0049 //! @def HAVE_KCRASH
0050 //! @brief if defined, KCrash is available
0051 #cmakedefine HAVE_KCRASH
0052 
0053 //! @def HAVE_MARBLE
0054 //! @brief if defined, Marble widget library is available
0055 #cmakedefine HAVE_MARBLE
0056 
0057 //! @def HAVE_QTWEBKITWIDGETS
0058 //! @brief if defined, QtWebKit widgets library is available
0059 #cmakedefine HAVE_QTWEBKITWIDGETS
0060 
0061 //! @def COMPILING_TESTS
0062 //! @brief if defined, tests are enabled
0063 #cmakedefine COMPILING_TESTS
0064 
0065 //! @def COMPILING_EXAMPLES
0066 //! @brief if defined, examples are enabled and installed
0067 #cmakedefine COMPILING_EXAMPLES
0068 
0069 //! @def KEXI_DEBUG_GUI
0070 //! @brief If defined, a debugging GUI for Kexi is enabled
0071 #cmakedefine KEXI_DEBUG_GUI
0072 
0073 #if defined KEXI_DEBUG_GUI && !defined KDB_DEBUG_GUI
0074 # error KEXI_DEBUG_GUI requires a KDB_DEBUG_GUI cmake option to be set too in KDb.
0075 #endif
0076 
0077 //! @def KEXI_MIGRATEMANAGER_DEBUG
0078 //! @brief Defined if debugging for the migrate driver manager is enabled
0079 #cmakedefine KEXI_MIGRATEMANAGER_DEBUG
0080 
0081 /* -- Experimental -- */
0082 
0083 //! @def KEXI_SCRIPTS_SUPPORT
0084 //! @brief If defined, scripting GUI plugin is enabled in Kexi
0085 #cmakedefine KEXI_SCRIPTS_SUPPORT
0086 
0087 //! @def KEXI_MACROS_SUPPORT
0088 //! @brief If defined, macro GUI plugin is enabled in Kexi
0089 #cmakedefine KEXI_MACROS_SUPPORT
0090 
0091 //! @def KEXI_SHOW_UNFINISHED
0092 //! @brief If defined unfinished features are enabled and presented in Kexi.
0093 //! This is useful for testing but may confuse end-users.
0094 #cmakedefine KEXI_SHOW_UNFINISHED
0095 
0096 //! @def KEXI_SHOW_UNIMPLEMENTED
0097 //! @brief If defined show menu entries and dialogs just to give impression about development plans for Kexi
0098 //! Only recommended for test/development versions.
0099 #cmakedefine KEXI_SHOW_UNIMPLEMENTED
0100 
0101 //! @def KEXI_PROJECT_TEMPLATES
0102 //! @brief If defined, support for project templates is enabled in Kexi
0103 #cmakedefine KEXI_PROJECT_TEMPLATES
0104 
0105 #ifndef KEXI_MOBILE
0106 //! @def KEXI_AUTORISE_TABBED_TOOLBAR
0107 //! @brief If defined, tabs in the main tabbed toolbar autorise in Kexi
0108 #cmakedefine KEXI_AUTORISE_TABBED_TOOLBAR
0109 
0110 //! @def KEXI_USE_KFILEWIDGET
0111 //! @brief If defined, KFileWidget-based inline file browser is used in Kexi. Otherwise a simple
0112 //! replacement file widget with native file dialogs is used. ON by default on UNIX, OFF by default
0113 //! on Windows and macOS.
0114 //! @note Non-plasma Linux desktops still default to the simple replacement at runtime.
0115 #cmakedefine KEXI_USE_KFILEWIDGET
0116 #endif // !KEXI_MOBILE
0117 
0118 //! @def KEXI_FORM_CURSOR_PROPERTY_SUPPORT
0119 //! @brief If defined, "cursor" property is displayed in the form designer
0120 #cmakedefine KEXI_FORM_CURSOR_PROPERTY_SUPPORT
0121 
0122 //! @def KEXI_SHOW_CONTEXT_HELP
0123 //! @brief If defined, context help is displayed in Kexi main window
0124 #cmakedefine KEXI_SHOW_CONTEXT_HELP
0125 
0126 //! @def KEXI_QUICK_PRINTING_SUPPORT
0127 //! @brief If defined, print/print preview/print setup for tables/queries is enabled in the project navigator
0128 #cmakedefine KEXI_QUICK_PRINTING_SUPPORT
0129 
0130 //! @def KEXI_AUTOFIELD_FORM_WIDGET_SUPPORT
0131 //! @brief If defined, "auto field" form widget is available in the form designer
0132 #cmakedefine KEXI_AUTOFIELD_FORM_WIDGET_SUPPORT
0133 
0134 //! @def KEXI_LIST_FORM_WIDGET_SUPPORT
0135 //! @brief If defined, "list" form widget is available in the form designer
0136 #cmakedefine KEXI_LIST_FORM_WIDGET_SUPPORT
0137 
0138 //! @def KEXI_PIXMAP_COLLECTIONS_SUPPORT
0139 //! @brief If defined, support for pixmap collections is enabled
0140 #cmakedefine KEXI_PIXMAP_COLLECTIONS_SUPPORT
0141 
0142 #endif