add libguh-core target

This commit is contained in:
Simon Stürz 2015-09-21 14:24:11 +02:00 committed by Michael Zanetti
parent f9c15d689e
commit 550f8a29f4
3 changed files with 19 additions and 4 deletions

View File

@ -1,11 +1,10 @@
QT += testlib network sql
CONFIG += testcase
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/
LIBS += -L$$top_builddir/libguh/ -lguh -L$$top_builddir/plugins/deviceplugins/mock/ \
-L$$top_builddir/tests/libguh-core -lguh-core
SOURCES += ../guhtestbase.cpp \
../mocktcpserver.cpp \

View File

@ -0,0 +1,13 @@
include(../../guh.pri)
include(../../server/server.pri)
TARGET = guh-core
TEMPLATE = lib
INCLUDEPATH += $$top_srcdir/server/ $$top_srcdir/server/jsonrpc $$top_srcdir/libguh $$top_srcdir/tests/auto/
LIBS += -L$$top_builddir/libguh/ -lguh
QT += sql
target.path = /usr/lib
INSTALLS += target

View File

@ -1,2 +1,5 @@
TEMPLATE = subdirs
SUBDIRS = auto
SUBDIRS = auto libguh-core
auto.depends = libguh-core