Merge PR #20: Add pkgconfig support
This commit is contained in:
commit
fe3da2e848
@ -1,2 +1,3 @@
|
|||||||
usr/lib/@DEB_HOST_MULTIARCH@/libnymea-remoteproxyclient.so
|
usr/lib/@DEB_HOST_MULTIARCH@/libnymea-remoteproxyclient.so
|
||||||
usr/include/nymea-remoteproxyclient/* usr/include/nymea-remoteproxyclient
|
usr/include/nymea-remoteproxyclient/* usr/include/nymea-remoteproxyclient
|
||||||
|
usr/lib/@DEB_HOST_MULTIARCH@/pkgconfig/nymea-remoteproxyclient.pc
|
||||||
|
|||||||
@ -10,3 +10,14 @@ installheaders.files = remoteproxyconnection.h
|
|||||||
installheaders.path = $$[QT_INSTALL_PREFIX]/include/nymea-remoteproxyclient/
|
installheaders.path = $$[QT_INSTALL_PREFIX]/include/nymea-remoteproxyclient/
|
||||||
|
|
||||||
INSTALLS += target installheaders
|
INSTALLS += target installheaders
|
||||||
|
|
||||||
|
# Create pkgconfig file
|
||||||
|
CONFIG += create_pc create_prl no_install_prl
|
||||||
|
QMAKE_PKGCONFIG_NAME = libnymea-remoteproxyclient
|
||||||
|
QMAKE_PKGCONFIG_DESCRIPTION = nymea remoteproxy client development library
|
||||||
|
QMAKE_PKGCONFIG_PREFIX = $$[QT_INSTALL_PREFIX]
|
||||||
|
QMAKE_PKGCONFIG_INCDIR = $$[QT_INSTALL_PREFIX]/include/nymea-remoteproxyclient/
|
||||||
|
QMAKE_PKGCONFIG_LIBDIR = $$target.path
|
||||||
|
QMAKE_PKGCONFIG_VERSION = $$NYMEA_VERSION_STRING
|
||||||
|
QMAKE_PKGCONFIG_FILE = nymea-remoteproxyclient
|
||||||
|
QMAKE_PKGCONFIG_DESTDIR = pkgconfig
|
||||||
|
|||||||
Reference in New Issue
Block a user