Compile-Time Options for Kexi
-----------------------------

(c) 2005-2007, Jarosław Staniek, <staniek @ kde.org>


See http://www.kexi-project.org/wiki/wikiview/index.php@AdvancedBuildNotes.html
for explanation how to conveniently set compile-time options.

List of available options
-------------------------

* KEXI_NO_UNFINISHED
Type: defined/undefined
Default: defined
Description: If defined, unfinished Kexi features (for example a few features 
within Table Designer) will be hidded for Kexi, to avoid user confusion.

* KEXI_SHOW_UNIMPLEMENTED
Type: defined/undefined
Default: undefined
Description: If defined, forces to show menu entries and dialogs just to give 
impression about development plans of Kexi Team. 
Only recommended for test/development versions.

* KEXI_REPORTS_SUPPORT
Type: defined/undefined
Default: undefined
Description: If defined, the reports plugin will be compiled in and loaded; 
else: it will be not loaded even if is compiled.

* KEXI_SCRIPTS_SUPPORT
Type: defined/undefined
Like KEXI_REPORTS_SUPPORT macro, but for enabling scripts plugin.
Default: undefined

* KEXI_MACROS_SUPPORT
Type: defined/undefined
Like KEXI_REPORTS_SUPPORT macro, but for enabling macros plugin.
Default: undefined

* KEXI_KROSS_SUPPORT
Type: defined/undefined
If KEXI_SCRIPTS_SUPPORT is defined, this option defines that
Kross, located at kexi/scripting{core|plugins}, should be
compiled and used for scripting.
Default: same as KEXI_SCRIPTS_SUPPORT

* KEXI_NO_MIGRATION
Type: defined/undefined
Default: undefined
Description: If defined, data/project migration support for Kexi 
(available in Tools>Migration menu) will be disabled; else: support will 
be enabled.

* KEXI_NO_SUBFORM
Type: defined/undefined, temporary
Default: defined
Description: If defined, subform widget will not be available

* KEXI_NO_AUTOFIELD_WIDGET
Type: defined/undefined, temporary
Default: undefined for 1.x, defined for 2.x
Description: If defined, autofield (KexiDBFieldEdit) widget will not be available, 
nor dragging fields from "data source" will be available

* KEXI_NO_IMAGEBOX_WIDGET
Type: defined/undefined, temporary
Default: undefined
Description: If defined, image box (KexiImageBox) widget will not be available

* KEXI_NO_FORM_LAYOUTS
Type: defined/undefined, temporary
Default: undefined for 2.x
Description: If defined, layouts (and spacers) for forms will not be available

* CUSTOM_VERSION
Type: defined/undefined
Default: undefined
Description: Defined means Kexi version compiled for standalone distribution 
with some minor vendor-specific tweaks. Used for OOPL version.

* KEXI_DEBUG_GUI
Type: defined/undefined
Default: defined (but should be undefined for final releases)
Description: If defined, showInternalDebugger=true (in [General] group) 
can be specified to display KexiDB Debugger. 
In the future the window will be probably used for debugging other features
like scripts or macros. This option is useful for Kexi Developers.

Also shows additional "Show Form UI Code" action in form's design mode. 
This is useful for debugging: after executing the action, 
a dialog with current (after changes) and original form's 
GUI XML code will be presented in a tabbed dialog, so you can compare what changed 
and look for possible problems. The "current" XML code will be saved when "save" 
action is executed. TODO: it will be merged with Internal Debuger window.

* KEXI_DB_COMBOBOX_WIDGET
Type: defined/undefined
Default: defined
Description: Defined means Kexi offers combo box form widget.

* DB_TEMPLATES
Type: defined/undefined
Default: defined
Description: Defined means Kexi offers "Templates" in the startup dialog.

* KEXI_SQLITE_MIGRATION
Type: defined/undefined
Default: undefined
Description: If defined, sqlite3 migration to some newer format is supported
(users can see appropriate proposal on startup). Used in KexiStartup.cpp.
NOTE: Shall be defined.

==== Obsolete, don't use ====

(none)
