nymea/tests/auto/autotests.pri

17 lines
528 B
Plaintext

QT += testlib network
CONFIG += testcase c++11
message ("tests: $$top_srcdir")
include($$top_srcdir/server/server.pri)
DEFINES += TESTING_ENABLED
INCLUDEPATH += $$top_srcdir/server/ $$top_srcdir/server/jsonrpc $$top_srcdir/libguh $$top_srcdir/tests/auto/
LIBS += -L$$top_builddir/libguh/ -lguh -L$$top_builddir/plugins/deviceplugins/mock/ -lguh_devicepluginmock
QMAKE_LFLAGS += -Wl,--rpath=$$top_builddir/libguh
SOURCES += ../guhtestbase.cpp \
../mocktcpserver.cpp \
HEADERS += ../guhtestbase.h \
../mocktcpserver.h