summaryrefslogtreecommitdiff
path: root/libnitrokey.pro
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2018-01-30 14:17:31 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2018-01-30 14:33:54 +0100
commit97193fb253f3892e64d537b89eaa788a054cb118 (patch)
tree292fe6fe8fd15508af1c467eed4b4b396aaf8c48 /libnitrokey.pro
parent1f7e1e05ed097f9f30aee24892a2708063d57d23 (diff)
downloadlibnitrokey-97193fb253f3892e64d537b89eaa788a054cb118.tar.gz
libnitrokey-97193fb253f3892e64d537b89eaa788a054cb118.tar.bz2
Add QMake installation rules
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'libnitrokey.pro')
-rw-r--r--libnitrokey.pro11
1 files changed, 11 insertions, 0 deletions
diff --git a/libnitrokey.pro b/libnitrokey.pro
index 8d223f5..4c49e5f 100644
--- a/libnitrokey.pro
+++ b/libnitrokey.pro
@@ -3,6 +3,7 @@
CONFIG += c++14 shared debug
+
TEMPLATE = lib
TARGET = nitrokey
@@ -32,6 +33,7 @@ HEADERS = \
$$PWD/include/stick20_commands.h \
$$PWD/NK_C_API.h
+
SOURCES = \
$$PWD/command_id.cc \
$$PWD/device.cc \
@@ -77,3 +79,12 @@ INCLUDEPATH = \
#DEFINES =
+unix:!macx{
+ # Install rules for QMake (CMake is preffered though)
+ headers.files = $$HEADERS
+ headers.path = /usr/local/include/libnitrokey/
+ INSTALLS += headers
+
+ libbin.path = /usr/local/lib
+ INSTALLS += libbin
+}