summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--libopie2/opiepim/backend/backends.pro7
-rw-r--r--libopie2/opiepim/opiepim.pro4
2 files changed, 8 insertions, 3 deletions
diff --git a/libopie2/opiepim/backend/backends.pro b/libopie2/opiepim/backend/backends.pro
index 7049aab..f91e98a 100644
--- a/libopie2/opiepim/backend/backends.pro
+++ b/libopie2/opiepim/backend/backends.pro
@@ -3,13 +3,12 @@ SOURCES += \
core/backends/ocontactaccessbackend_xml.cpp \
core/backends/ocontactaccess.cpp \
core/backends/odatebookaccessbackend.cpp \
core/backends/odatebookaccessbackend_xml.cpp \
core/backends/otodoaccessbackend.cpp \
core/backends/otodoaccess.cpp \
- core/backends/otodoaccesssql.cpp \
core/backends/otodoaccessvcal.cpp \
core/backends/otodoaccessxml.cpp \
core/backends/odatebookaccess.cpp
HEADERS += \
core/backends/obackendfactory.h \
@@ -25,15 +24,21 @@ HEADERS += \
core/backends/otodoaccess.h \
core/backends/otodoaccessvcal.h \
core/backends/otodoaccessxml.h \
core/backends/odatebookaccess.h
contains( ENABLE_SQL_PIM_BACKEND, y ) {
+ message ( Enabling the SQL Backend for libopiepim2 )
DEFINES += __USE_SQL
LIBS += -lopiedb2
HEADERS += core/backends/otodoaccesssql.h \
core/backends/ocontactaccessbackend_sql.h \
core/backends/odatebookaccessbackend_sql.h
SOURCES += core/backends/otodoaccesssql.cpp \
core/backends/ocontactaccessbackend_sql.cpp \
core/backends/odatebookaccessbackend_sql.cpp
}
+
+!contains( ENABLE_SQL_PIM_BACKEND, y ) {
+ message ( No SQL Backend in libopiepim2 )
+}
+
diff --git a/libopie2/opiepim/opiepim.pro b/libopie2/opiepim/opiepim.pro
index 416765e..318aecf 100644
--- a/libopie2/opiepim/opiepim.pro
+++ b/libopie2/opiepim/opiepim.pro
@@ -5,23 +5,23 @@ HEADERS = opimcontact.h opimcontactfields.h opimrecord.h opimtodo.h opimnoti
opimnotifymanager.h opimevent.h
SOURCES = opimcontact.cpp opimcontactfields.cpp opimrecord.cpp opimtodo.cpp opimnotify.cpp \
opimnotifymanager.cpp opimevent.cpp
INTERFACES =
TARGET = opiepim2
-VERSION = 1.8.5
+VERSION = 1.8.6
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lopiecore2
+include ( $(OPIEDIR)/gen.pro )
include ( core/core.pro )
include ( core/backends/backends.pro )
include ( ui/ui.pro )
!contains( platform, x11 ) {
include ( $(OPIEDIR)/include.pro )
}
contains( platform, x11 ) {
LIBS = -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib
}
-