sdrangel/fcdhid/fcdhid.pro

36 wiersze
883 B
Prolog
Czysty Zwykły widok Historia

#--------------------------------------------
#
# Pro file for Windows build with Qt Creator
#
#--------------------------------------------
QT += core
TEMPLATE = lib
TARGET = fcdhid
2019-01-27 17:26:00 +00:00
CONFIG(MINGW32):INCLUDEPATH += "C:\softs\libusb-1.0.21\include"
CONFIG(MINGW32):DEFINES += MINGW32=1
2019-01-27 17:26:00 +00:00
CONFIG(MINGW64):INCLUDEPATH += "C:\softs\libusb-1.0.21\include"
CONFIG(MINGW64):DEFINES += MINGW32=1
CONFIG(macx):INCLUDEPATH += "/opt/local/include"
SOURCES = $$PWD/hid-libusb.c\
$$PWD/fcdhid.c
macx:SOURCES += ../apple/apple_compat.c
HEADERS = $$PWD/fcdhid.h\
$$PWD/hid-libusb.h\
$$PWD/hidapi.h
2019-01-27 17:26:00 +00:00
CONFIG(MINGW32):LIBS += -LC:\softs\libusb-1.0.21\MinGW32\dll -llibusb-1.0 -liconv
CONFIG(MINGW64):LIBS += -LC:\softs\libusb-1.0.21\MinGW64\dll -llibusb-1.0 -liconv
CONFIG(macx):LIBS += -L/opt/local/lib -lusb-1.0 -liconv
macx {
QMAKE_LFLAGS_SONAME = -Wl,-install_name,@rpath/
}