QT += testlib QT -= gui CONFIG += qt console warn_on depend_includepath testcase CONFIG -= app_bundle TEMPLATE = app SOURCES += tst_console.cpp INCLUDEPATH += $$PWD/../logic/include DEPENDPATH += $$PWD/../logic/include INCLUDEPATH += $$PWD/../logger DEPENDPATH += $$PWD/../logger # Link with core project win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../logger/release/ -llogger else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../logger/debug/ -llogger else:unix: LIBS += -L$$OUT_PWD/../logger/ -llogger win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../logger/release/liblogger.a else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../logger/debug/liblogger.a else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../logger/release/logger.lib else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../logger/debug/logger.lib else:unix: PRE_TARGETDEPS += $$OUT_PWD/../logger/liblogger.a # Link with core project win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../logic/release/ -llogic else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../logic/debug/ -llogic else:unix: LIBS += -L$$OUT_PWD/../logic/ -llogic win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../logic/release/liblogic.a else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../logic/debug/liblogic.a else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../logic/release/logic.lib else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../logic/debug/logic.lib else:unix: PRE_TARGETDEPS += $$OUT_PWD/../logic/liblogic.a HEADERS += \ TestDataSender.h \ TestLogger.h