2018-09-18 20:24:54 +02:00
|
|
|
! include( ../../common.pri ) {
|
|
|
|
|
error( "Couldn't find the common.pri file!" )
|
|
|
|
|
}
|
2017-12-09 10:45:13 +01:00
|
|
|
include(gtest_dependency.pri)
|
|
|
|
|
|
|
|
|
|
TEMPLATE = app
|
2019-03-24 08:53:22 +01:00
|
|
|
CONFIG += console
|
2017-12-09 10:45:13 +01:00
|
|
|
CONFIG -= app_bundle
|
|
|
|
|
CONFIG += thread
|
|
|
|
|
CONFIG += qt
|
|
|
|
|
|
|
|
|
|
QT += core
|
|
|
|
|
|
2018-09-18 20:24:54 +02:00
|
|
|
INCLUDEPATH += C:\Prog\include\pgsql
|
|
|
|
|
|
2017-12-16 21:40:19 +01:00
|
|
|
|
2017-12-09 10:45:13 +01:00
|
|
|
|
|
|
|
|
HEADERS +=
|
|
|
|
|
|
|
|
|
|
SOURCES += main.cpp \
|
2017-12-16 21:40:19 +01:00
|
|
|
tst_Value.cpp \
|
|
|
|
|
tst_ArrayParser.cpp \
|
|
|
|
|
tst_Pgsql_oids.cpp
|
2017-12-09 10:45:13 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../../pgsql/release/ -lpgsql
|
|
|
|
|
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../../pgsql/debug/ -lpgsql
|
|
|
|
|
else:unix: LIBS += -L$$OUT_PWD/../../pgsql/ -lpgsql
|
|
|
|
|
|
|
|
|
|
INCLUDEPATH += $$PWD/../../pgsql
|
|
|
|
|
DEPENDPATH += $$PWD/../../pgsql
|
|
|
|
|
|
|
|
|
|
win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../../pgsql/release/libpgsql.a
|
|
|
|
|
else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../../pgsql/debug/libpgsql.a
|
|
|
|
|
else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../../pgsql/release/pgsql.lib
|
|
|
|
|
else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../../pgsql/debug/pgsql.lib
|
|
|
|
|
else:unix: PRE_TARGETDEPS += $$OUT_PWD/../../pgsql/libpgsql.a
|
|
|
|
|
|
|
|
|
|
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../mygtestutils/release/ -lmygtestutils
|
|
|
|
|
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../mygtestutils/debug/ -lmygtestutils
|
|
|
|
|
else:unix:!macx: LIBS += -L$$OUT_PWD/../mygtestutils/ -lmygtestutils
|
|
|
|
|
|
|
|
|
|
INCLUDEPATH += $$PWD/../mygtestutils
|
|
|
|
|
DEPENDPATH += $$PWD/../mygtestutils
|
|
|
|
|
|
|
|
|
|
win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../mygtestutils/release/libmygtestutils.a
|
|
|
|
|
else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../mygtestutils/debug/libmygtestutils.a
|
|
|
|
|
else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../mygtestutils/release/mygtestutils.lib
|
|
|
|
|
else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../mygtestutils/debug/mygtestutils.lib
|
|
|
|
|
else:unix:!macx: PRE_TARGETDEPS += $$OUT_PWD/../mygtestutils/libmygtestutils.a
|