pgLab/pgsql/pgsql.pro

61 lines
1.6 KiB
Prolog
Raw Permalink Normal View History

2017-11-26 13:07:21 +01:00
#-------------------------------------------------
#
# Project created by QtCreator 2016-11-11T09:17:13
#
#-------------------------------------------------
CONFIG += staticlib
2017-11-26 13:07:21 +01:00
QT += core
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets sql
TARGET = pgsql
TEMPLATE = lib
! include( ../common.pri ) {
error( "Couldn't find the common.pri file!" )
}
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 \
Pgsql_PgException.cpp \
2017-11-26 13:07:21 +01:00
Pgsql_Result.cpp \
Pgsql_Row.cpp \
Pgsql_Value.cpp \
2017-12-16 21:43:51 +01:00
ArrayParser.cpp \
Pgsql_oids.cpp \
Pgsql_Transaction.cpp \
Pgsql_ErrorDetails.cpp \
Pgsql_Canceller.cpp
2017-11-26 13:07:21 +01:00
HEADERS += Pgsql_Connection.h \
Pgsql_IResult.h \
2017-11-26 13:07:21 +01:00
Pgsql_Params.h \
Pgsql_PgException.h \
2017-11-26 13:07:21 +01:00
Pgsql_Result.h \
Pgsql_ResultConstIterator.h \
2017-11-26 13:07:21 +01:00
Pgsql_Row.h \
Pgsql_Value.h \
Pgsql_declare.h \
Pgsql_Col.h \
2017-12-16 21:43:51 +01:00
ArrayParser.h \
Pgsql_oids.h \
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