diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2017-09-20 11:19:30 +0200 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2017-09-20 11:19:30 +0200 |
commit | a57ed65f90c2ffda245c93aaa4aa710b605550d7 (patch) | |
tree | 12b7ba01532817b351e67dc1938ea472a900783b /libnitrokey.pro | |
parent | b4f269c67e8a93c22c94d50a04e800a0a56806b0 (diff) | |
download | libnitrokey-a57ed65f90c2ffda245c93aaa4aa710b605550d7.tar.gz libnitrokey-a57ed65f90c2ffda245c93aaa4aa710b605550d7.tar.bz2 |
Qt project update
Build shared library with debug symbols
Fix build for Linux
Remove commented lines
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'libnitrokey.pro')
-rw-r--r-- | libnitrokey.pro | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/libnitrokey.pro b/libnitrokey.pro index 5af0526..f7711bf 100644 --- a/libnitrokey.pro +++ b/libnitrokey.pro @@ -1,17 +1,13 @@ # Created by and for Qt Creator. This file was created for editing the project sources only. # You may attempt to use it for building too, by modifying this file here. -#TARGET = libnitrokey - -CONFIG += c++14 staticlib -#QT = +CONFIG += c++14 shared debug TEMPLATE = lib TARGET = nitrokey HEADERS = \ $$PWD/hidapi/hidapi/hidapi.h \ -# $$PWD/include/hidapi/hidapi.h \ $$PWD/include/command.h \ $$PWD/include/command_id.h \ $$PWD/include/CommandFailedException.h \ @@ -52,11 +48,13 @@ tests { } unix:!macx{ - SOURCES += $$PWD/hidapi/linux/hid.c +# SOURCES += $$PWD/hidapi/linux/hid.c + LIBS += -lhidapi-libusb } -unix{ +macx{ SOURCES += $$PWD/hidapi/mac/hid.c + LIBS+= -framework IOKit -framework CoreFoundation } win32 { |