2017-11-26 13:07:21 +01:00
|
|
|
#-------------------------------------------------
|
|
|
|
|
#
|
|
|
|
|
# Project created by QtCreator 2016-11-11T09:17:13
|
|
|
|
|
#
|
|
|
|
|
#-------------------------------------------------
|
|
|
|
|
|
2019-03-24 08:53:22 +01:00
|
|
|
CONFIG += staticlib
|
2017-11-26 13:07:21 +01:00
|
|
|
QT += core
|
|
|
|
|
|
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets sql
|
|
|
|
|
|
|
|
|
|
TARGET = pgsql
|
|
|
|
|
TEMPLATE = lib
|
|
|
|
|
|
2018-09-18 20:24:54 +02:00
|
|
|
! include( ../common.pri ) {
|
|
|
|
|
error( "Couldn't find the common.pri file!" )
|
|
|
|
|
}
|
2017-12-16 10:31:51 +01:00
|
|
|
|
2019-03-27 18:50:58 +01:00
|
|
|
LIBS += -lws2_32 -llibpq
|
2017-11-26 13:07:21 +01:00
|
|
|
|
|
|
|
|
SOURCES += Pgsql_Connection.cpp \
|
|
|
|
|
Pgsql_Params.cpp \
|
2017-12-28 07:29:07 +01:00
|
|
|
Pgsql_PgException.cpp \
|
2017-11-26 13:07:21 +01:00
|
|
|
Pgsql_Result.cpp \
|
|
|
|
|
Pgsql_Row.cpp \
|
2017-12-09 10:45:13 +01:00
|
|
|
Pgsql_Value.cpp \
|
2017-12-16 21:43:51 +01:00
|
|
|
ArrayParser.cpp \
|
2018-12-09 20:24:11 +01:00
|
|
|
Pgsql_oids.cpp \
|
|
|
|
|
Pgsql_Transaction.cpp \
|
|
|
|
|
Pgsql_ErrorDetails.cpp \
|
|
|
|
|
Pgsql_Canceller.cpp
|
2017-11-26 13:07:21 +01:00
|
|
|
|
|
|
|
|
HEADERS += Pgsql_Connection.h \
|
2022-02-06 12:19:43 +01:00
|
|
|
Pgsql_IResult.h \
|
2017-11-26 13:07:21 +01:00
|
|
|
Pgsql_Params.h \
|
2017-12-28 07:29:07 +01:00
|
|
|
Pgsql_PgException.h \
|
2017-11-26 13:07:21 +01:00
|
|
|
Pgsql_Result.h \
|
2022-02-06 12:19:43 +01:00
|
|
|
Pgsql_ResultConstIterator.h \
|
2017-11-26 13:07:21 +01:00
|
|
|
Pgsql_Row.h \
|
|
|
|
|
Pgsql_Value.h \
|
2017-12-09 10:45:13 +01:00
|
|
|
Pgsql_declare.h \
|
2017-12-16 10:31:51 +01:00
|
|
|
Pgsql_Col.h \
|
2017-12-16 21:43:51 +01:00
|
|
|
ArrayParser.h \
|
2018-04-08 09:07:43 +02:00
|
|
|
Pgsql_oids.h \
|
2018-12-09 20:24:11 +01:00
|
|
|
SqlGenerator.h \
|
|
|
|
|
Pgsql_Transaction.h \
|
|
|
|
|
Pgsql_ErrorDetails.h \
|
|
|
|
|
Pgsql_Canceller.h
|
2017-11-26 13:07:21 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../core/release/ -lcore
|
|
|
|
|
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../core/debug/ -lcore
|
|
|
|
|
|
|
|
|
|
INCLUDEPATH += $$PWD/../core
|
|
|
|
|
DEPENDPATH += $$PWD/../core
|
|
|
|
|
|
|
|
|
|
win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../core/release/libcore.a
|
|
|
|
|
else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../core/debug/libcore.a
|
|
|
|
|
else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../core/release/core.lib
|
|
|
|
|
else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../core/debug/core.lib
|