diff options
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 { |