author | mickeyl <mickeyl> | 2004-03-28 23:32:41 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-03-28 23:32:41 (UTC) |
commit | 3af77639ad7a1f5acf66220fe493df424e40f949 (patch) (side-by-side diff) | |
tree | bd6b6730aa95ace39ce9a13800d18d97e0bc0829 /libopie2/opiepim/backend/backends.pro | |
parent | 780fbf818882654e9a7e5fac6fc1bc9022bb31f3 (diff) | |
download | opie-3af77639ad7a1f5acf66220fe493df424e40f949.zip opie-3af77639ad7a1f5acf66220fe493df424e40f949.tar.gz opie-3af77639ad7a1f5acf66220fe493df424e40f949.tar.bz2 |
enabling and disabling the SQL stuff for libopiepim2 should now (finally) work
note that you may have to 'make mrproper' after enabling/disabling
Diffstat (limited to 'libopie2/opiepim/backend/backends.pro') (more/less context) (ignore 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 @@ -1,39 +1,44 @@ SOURCES += \ core/backends/ocontactaccessbackend_vcard.cpp \ 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 \ core/backends/ocontactaccessbackend.h \ core/backends/ocontactaccessbackend_vcard.h \ core/backends/ocontactaccessbackend_xml.h \ core/backends/ocontactaccess.h \ core/backends/odatebookaccessbackend.h \ core/backends/odatebookaccessbackend_xml.h \ core/backends/opimaccessbackend.h \ core/backends/opimaccesstemplate.h \ core/backends/otodoaccessbackend.h \ 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 ) +} + |