70 lines
1.8 KiB
Prolog
70 lines
1.8 KiB
Prolog
#-------------------------------------------------
|
|
#
|
|
# Project created by QtCreator 2016-11-11T09:17:13
|
|
#
|
|
#-------------------------------------------------
|
|
|
|
CONFIG += staticlib c++17
|
|
QT += core
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets sql
|
|
|
|
TARGET = pgsql
|
|
TEMPLATE = lib
|
|
|
|
INCLUDEPATH += C:\prog\include \
|
|
C:\Prog\include\pgsql \
|
|
C:\VSproj\boost32\include\boost-1_65_1
|
|
|
|
QMAKE_CXXFLAGS += /std:c++17
|
|
|
|
DEFINES += WIN32_LEAN_AND_MEAN NOMINMAX
|
|
#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 \
|
|
Pgsql_Result.cpp \
|
|
Pgsql_Row.cpp \
|
|
Pgsql_Value.cpp \
|
|
Pgsql_Col.cpp \
|
|
ArrayParser.cpp \
|
|
Pgsql_oids.cpp
|
|
|
|
HEADERS += Pgsql_Connection.h \
|
|
Pgsql_Params.h \
|
|
Pgsql_Result.h \
|
|
Pgsql_Row.h \
|
|
Pgsql_Value.h \
|
|
Pgsql_declare.h \
|
|
Pgsql_Col.h \
|
|
ArrayParser.h \
|
|
Pgsql_oids.h
|
|
|
|
#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
|