Merge branch 'clientlib-pri' into 'master'

move sources/headers to a pri for easier usage in other projects

See merge request !1
more-debug
Simon Stürz 2018-08-13 17:49:27 +02:00
commit 692341010d
2 changed files with 17 additions and 15 deletions

View File

@ -0,0 +1,16 @@
INCLUDEPATH += $${PWD}
HEADERS += \
$${PWD}/jsonrpcclient.h \
$${PWD}/jsonreply.h \
$${PWD}/remoteproxyconnection.h \
$${PWD}/proxyconnection.h \
$${PWD}/websocketconnection.h
SOURCES += \
$${PWD}/jsonrpcclient.cpp \
$${PWD}/jsonreply.cpp \
$${PWD}/remoteproxyconnection.cpp \
$${PWD}/proxyconnection.cpp \
$${PWD}/websocketconnection.cpp

View File

@ -3,21 +3,7 @@ include(../nymea-remoteproxy.pri)
TEMPLATE = lib
TARGET = nymea-remoteproxyclient
HEADERS += \
jsonrpcclient.h \
jsonreply.h \
remoteproxyconnection.h \
proxyconnection.h \
websocketconnection.h
SOURCES += \
jsonrpcclient.cpp \
jsonreply.cpp \
remoteproxyconnection.cpp \
proxyconnection.cpp \
websocketconnection.cpp
include(libnymea-remoteproxyclient.pri)
# install header file with relative subdirectory
for(header, HEADERS) {