summaryrefslogtreecommitdiffstats
path: root/kexi/Makefile.global
blob: 304c5fead54d737af5b385b525affa85e1cdccbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
KEXI_OPTIONS =

if compile_kross
  SCRIPTINGDEFINES=-DKEXI_SCRIPTS_SUPPORT
endif

AM_CPPFLAGS=$(SCRIPTINGDEFINES)

KDE_CXXFLAGS = \
$(USE_EXCEPTIONS) $(KEXI_OPTIONS)

KDE_CXXFLAGS += -include $(top_srcdir)/kexi/kexi_global.h

# temporary:
##KDE_CXXFLAGS += -DKEXI_NO_AUTOFIELD_WIDGET

# temporary unless cursor works properly in the Designer
KDE_CXXFLAGS += -DKEXI_NO_CURSOR_PROPERTY

# temporary: turn off processEvents() to avoid possible crashes
# KDE_CXXFLAGS += -DKEXI_NO_PROCESS_EVENTS

# temp: turn off advanced alter table
##KDE_CXXFLAGS += -DKEXI_NO_UNDOREDO_ALTERTABLE

KDE_CXXFLAGS += -DKEXI_NO_CTXT_HELP -DKEXI_NO_SUBFORM -DKEXI_DB_COMBOBOX_WIDGET -DDB_TEMPLATES

# TODO: undefine this before release!
KDE_CXXFLAGS += -DKEXI_DEBUG_GUI

VER_INFO = -version-info 2:0:0