Diffstat (limited to 'libopie2/opiepim/backend/backends.pro') (more/less context) (show whitespace changes)
-rw-r--r-- | libopie2/opiepim/backend/backends.pro | 7 |
1 files changed, 6 insertions, 1 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 += \ | |||
3 | core/backends/ocontactaccessbackend_xml.cpp \ | 3 | core/backends/ocontactaccessbackend_xml.cpp \ |
4 | core/backends/ocontactaccess.cpp \ | 4 | core/backends/ocontactaccess.cpp \ |
5 | core/backends/odatebookaccessbackend.cpp \ | 5 | core/backends/odatebookaccessbackend.cpp \ |
6 | core/backends/odatebookaccessbackend_xml.cpp \ | 6 | core/backends/odatebookaccessbackend_xml.cpp \ |
7 | core/backends/otodoaccessbackend.cpp \ | 7 | core/backends/otodoaccessbackend.cpp \ |
8 | core/backends/otodoaccess.cpp \ | 8 | core/backends/otodoaccess.cpp \ |
9 | core/backends/otodoaccesssql.cpp \ | ||
10 | core/backends/otodoaccessvcal.cpp \ | 9 | core/backends/otodoaccessvcal.cpp \ |
11 | core/backends/otodoaccessxml.cpp \ | 10 | core/backends/otodoaccessxml.cpp \ |
12 | core/backends/odatebookaccess.cpp | 11 | core/backends/odatebookaccess.cpp |
13 | 12 | ||
14 | HEADERS += \ | 13 | HEADERS += \ |
15 | core/backends/obackendfactory.h \ | 14 | core/backends/obackendfactory.h \ |
@@ -25,15 +24,21 @@ HEADERS += \ | |||
25 | core/backends/otodoaccess.h \ | 24 | core/backends/otodoaccess.h \ |
26 | core/backends/otodoaccessvcal.h \ | 25 | core/backends/otodoaccessvcal.h \ |
27 | core/backends/otodoaccessxml.h \ | 26 | core/backends/otodoaccessxml.h \ |
28 | core/backends/odatebookaccess.h | 27 | core/backends/odatebookaccess.h |
29 | 28 | ||
30 | contains( ENABLE_SQL_PIM_BACKEND, y ) { | 29 | contains( ENABLE_SQL_PIM_BACKEND, y ) { |
30 | message ( Enabling the SQL Backend for libopiepim2 ) | ||
31 | DEFINES += __USE_SQL | 31 | DEFINES += __USE_SQL |
32 | LIBS += -lopiedb2 | 32 | LIBS += -lopiedb2 |
33 | HEADERS += core/backends/otodoaccesssql.h \ | 33 | HEADERS += core/backends/otodoaccesssql.h \ |
34 | core/backends/ocontactaccessbackend_sql.h \ | 34 | core/backends/ocontactaccessbackend_sql.h \ |
35 | core/backends/odatebookaccessbackend_sql.h | 35 | core/backends/odatebookaccessbackend_sql.h |
36 | SOURCES += core/backends/otodoaccesssql.cpp \ | 36 | SOURCES += core/backends/otodoaccesssql.cpp \ |
37 | core/backends/ocontactaccessbackend_sql.cpp \ | 37 | core/backends/ocontactaccessbackend_sql.cpp \ |
38 | core/backends/odatebookaccessbackend_sql.cpp | 38 | core/backends/odatebookaccessbackend_sql.cpp |
39 | } | 39 | } |
40 | |||
41 | !contains( ENABLE_SQL_PIM_BACKEND, y ) { | ||
42 | message ( No SQL Backend in libopiepim2 ) | ||
43 | } | ||
44 | |||