0
|
1 |
TARGET = qsqlite
|
|
2 |
|
|
3 |
HEADERS = ../../../sql/drivers/sqlite/qsql_sqlite.h
|
|
4 |
SOURCES = smain.cpp \
|
|
5 |
../../../sql/drivers/sqlite/qsql_sqlite.cpp
|
|
6 |
|
|
7 |
!system-sqlite:!contains( LIBS, .*sqlite.* ) {
|
|
8 |
CONFIG(release, debug|release):DEFINES *= NDEBUG
|
|
9 |
DEFINES += SQLITE_OMIT_LOAD_EXTENSION SQLITE_OMIT_COMPLETE
|
|
10 |
INCLUDEPATH += ../../../3rdparty/sqlite
|
|
11 |
SOURCES += ../../../3rdparty/sqlite/sqlite3.c
|
|
12 |
} else {
|
|
13 |
LIBS *= $$QT_LFLAGS_SQLITE
|
|
14 |
QMAKE_CXXFLAGS *= $$QT_CFLAGS_SQLITE
|
|
15 |
}
|
|
16 |
|
|
17 |
include(../qsqldriverbase.pri)
|