add libguh-core target
This commit is contained in:
parent
f9c15d689e
commit
550f8a29f4
@ -1,11 +1,10 @@
|
|||||||
QT += testlib network sql
|
QT += testlib network sql
|
||||||
CONFIG += testcase
|
CONFIG += testcase
|
||||||
|
|
||||||
include($$top_srcdir/server/server.pri)
|
|
||||||
|
|
||||||
DEFINES += TESTING_ENABLED
|
DEFINES += TESTING_ENABLED
|
||||||
INCLUDEPATH += $$top_srcdir/server/ $$top_srcdir/server/jsonrpc $$top_srcdir/libguh $$top_srcdir/tests/auto/
|
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 \
|
SOURCES += ../guhtestbase.cpp \
|
||||||
../mocktcpserver.cpp \
|
../mocktcpserver.cpp \
|
||||||
|
|||||||
13
tests/libguh-core/libguh-core.pro
Normal file
13
tests/libguh-core/libguh-core.pro
Normal 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
|
||||||
@ -1,2 +1,5 @@
|
|||||||
TEMPLATE = subdirs
|
TEMPLATE = subdirs
|
||||||
SUBDIRS = auto
|
|
||||||
|
SUBDIRS = auto libguh-core
|
||||||
|
|
||||||
|
auto.depends = libguh-core
|
||||||
|
|||||||
Reference in New Issue
Block a user