2019-03-24 08:53:22 +01:00
|
|
|
! include( ../../common.pri ) {
|
|
|
|
|
error( "Couldn't find the common.pri file!" )
|
|
|
|
|
}
|
2018-01-07 09:15:21 +01:00
|
|
|
include(gtest_dependency.pri)
|
2017-12-09 10:45:13 +01:00
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
2018-09-09 18:52:32 +02:00
|
|
|
QT += core widgets
|
|
|
|
|
|
2019-01-28 20:53:10 +01:00
|
|
|
HEADERS +=
|
2017-12-09 10:45:13 +01:00
|
|
|
|
|
|
|
|
SOURCES += main.cpp \
|
2023-01-22 15:57:22 +01:00
|
|
|
TableTreeBuilderTests.cpp \
|
2019-08-19 11:38:04 +02:00
|
|
|
tst_ConvertLangToSqlString.cpp \
|
2019-08-19 13:52:23 +02:00
|
|
|
tst_ConvertToMultiLineCString.cpp \
|
2017-12-09 19:39:37 +01:00
|
|
|
tst_ExplainJsonParser.cpp \
|
2019-09-16 19:24:39 +02:00
|
|
|
tst_escapeConnectionStringValue.cpp \
|
2018-01-07 09:18:51 +01:00
|
|
|
tst_expected.cpp \
|
|
|
|
|
tst_SqlLexer.cpp \
|
|
|
|
|
tst_scopeguard.cpp \
|
|
|
|
|
tst_CsvWriter.cpp \
|
|
|
|
|
tst_PasswordManager.cpp \
|
2018-09-09 18:52:32 +02:00
|
|
|
tst_ParamJson.cpp \
|
|
|
|
|
tst_CodeBuilder.cpp \
|
2018-09-18 11:53:19 +02:00
|
|
|
tst_NameManglingRules.cpp \
|
2018-09-21 11:41:20 +02:00
|
|
|
tst_TypeMappings.cpp \
|
2022-05-26 08:25:31 +02:00
|
|
|
tst_Range.cpp
|
2017-12-09 10:45:13 +01:00
|
|
|
|
2018-01-07 09:15: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
|
2017-12-09 10:45:13 +01:00
|
|
|
|
2018-01-07 09:15:21 +01:00
|
|
|
INCLUDEPATH += $$PWD/../../core
|
|
|
|
|
DEPENDPATH += $$PWD/../../core
|
2019-03-27 18:50:58 +01:00
|
|
|
|
|
|
|
|
win32:CONFIG(debug, debug|release): LIBS += -lbotand
|
|
|
|
|
else:win32:CONFIG(release, debug|release): LIBS += -lbotan
|
2017-12-09 10:45:13 +01:00
|
|
|
|
2018-01-07 09:15:21 +01:00
|
|
|
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
|
2017-12-09 19:39:37 +01:00
|
|
|
|
2018-01-07 09:15:21 +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:!macx: LIBS += -L$$OUT_PWD/../../pgsql/ -lpgsql
|
2017-12-09 19:39:37 +01:00
|
|
|
|
2018-01-07 09:15:21 +01:00
|
|
|
INCLUDEPATH += $$PWD/../../pgsql
|
|
|
|
|
DEPENDPATH += $$PWD/../../pgsql
|
2017-12-09 19:39:37 +01:00
|
|
|
|
2018-01-07 09:15:21 +01:00
|
|
|
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:!macx: PRE_TARGETDEPS += $$OUT_PWD/../../pgsql/libpgsql.a
|
2017-12-16 21:42:41 +01:00
|
|
|
|
2018-01-07 09:15:21 +01:00
|
|
|
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../../pglablib/release/ -lpglablib
|
|
|
|
|
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../../pglablib/debug/ -lpglablib
|
|
|
|
|
else:unix:!macx: LIBS += -L$$OUT_PWD/../../pglablib/ -lpglablib
|
2017-12-16 21:42:41 +01:00
|
|
|
|
2018-01-07 09:15:21 +01:00
|
|
|
INCLUDEPATH += $$PWD/../../pglablib
|
|
|
|
|
DEPENDPATH += $$PWD/../../pglablib
|
2017-12-16 21:42:41 +01:00
|
|
|
|
2018-01-07 09:15:21 +01:00
|
|
|
win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../../pglablib/release/libpglablib.a
|
|
|
|
|
else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../../pglablib/debug/libpglablib.a
|
|
|
|
|
else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../../pglablib/release/pglablib.lib
|
|
|
|
|
else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../../pglablib/debug/pglablib.lib
|
|
|
|
|
else:unix:!macx: PRE_TARGETDEPS += $$OUT_PWD/../../pglablib/libpglablib.a
|
2018-09-09 18:52:32 +02:00
|
|
|
|
|
|
|
|
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
|