move sources/headers to a pri for easier usage in other projects
This commit is contained in:
parent
84905bcd12
commit
e5e7dbc183
16
libnymea-remoteproxyclient/libnymea-remoteproxyclient.pri
Normal file
16
libnymea-remoteproxyclient/libnymea-remoteproxyclient.pri
Normal 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
|
||||||
|
|
||||||
@ -3,21 +3,7 @@ include(../nymea-remoteproxy.pri)
|
|||||||
TEMPLATE = lib
|
TEMPLATE = lib
|
||||||
TARGET = nymea-remoteproxyclient
|
TARGET = nymea-remoteproxyclient
|
||||||
|
|
||||||
HEADERS += \
|
include(libnymea-remoteproxyclient.pri)
|
||||||
jsonrpcclient.h \
|
|
||||||
jsonreply.h \
|
|
||||||
remoteproxyconnection.h \
|
|
||||||
proxyconnection.h \
|
|
||||||
websocketconnection.h
|
|
||||||
|
|
||||||
|
|
||||||
SOURCES += \
|
|
||||||
jsonrpcclient.cpp \
|
|
||||||
jsonreply.cpp \
|
|
||||||
remoteproxyconnection.cpp \
|
|
||||||
proxyconnection.cpp \
|
|
||||||
websocketconnection.cpp
|
|
||||||
|
|
||||||
|
|
||||||
# install header file with relative subdirectory
|
# install header file with relative subdirectory
|
||||||
for(header, HEADERS) {
|
for(header, HEADERS) {
|
||||||
|
|||||||
Reference in New Issue
Block a user