2017-11-26 13:07:21 +01:00
|
|
|
#-------------------------------------------------
|
|
|
|
|
#
|
|
|
|
|
# Project created by QtCreator 2016-11-11T09:17:13
|
|
|
|
|
#
|
|
|
|
|
#-------------------------------------------------
|
|
|
|
|
|
2017-12-16 10:31:51 +01:00
|
|
|
CONFIG += staticlib c++17
|
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
|
|
|
|
2017-11-26 13:07:21 +01:00
|
|
|
#LIBS += -LC:/prog/boost/lib -Lc:/prog/lib libpq.lib fmt.lib User32.lib ws2_32.lib
|
|
|
|
|
LIBS += -LC:/PROG/LIB -lws2_32 -llibpq
|
|
|
|
|
|
|
|
|
|
debug {
|
|
|
|
|
#LIBS += c:/prog/lib/botand_imp.lib
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
release {
|
|
|
|
|
# LIBS += c:\prog\lib\botan.lib
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#win32:RC_ICONS += pglab.ico
|
|
|
|
|
|
|
|
|
|
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 10:31:51 +01:00
|
|
|
Pgsql_Col.cpp \
|
2017-12-16 21:43:51 +01:00
|
|
|
ArrayParser.cpp \
|
|
|
|
|
Pgsql_oids.cpp
|
2017-11-26 13:07:21 +01:00
|
|
|
|
|
|
|
|
HEADERS += Pgsql_Connection.h \
|
|
|
|
|
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 \
|
|
|
|
|
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 \
|
|
|
|
|
SqlGenerator.h
|
2017-11-26 13:07:21 +01:00
|
|
|
|
|
|
|
|
#FORMS +=
|
|
|
|
|
|
|
|
|
|
#RESOURCES += \
|
|
|
|
|
# resources.qrc
|
|
|
|
|
|
|
|
|
|
#QMAKE_LFLAGS_WINDOWS = /SUBSYSTEM:WINDOWS,5.01
|
|
|
|
|
|
|
|
|
|
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
|