2016-03-24 06:30:06 -04:00
|
|
|
#--------------------------------------------
|
|
|
|
#
|
|
|
|
# Pro file for Windows build with Qt Creator
|
|
|
|
#
|
|
|
|
#--------------------------------------------
|
|
|
|
|
|
|
|
QT += core
|
|
|
|
|
|
|
|
TEMPLATE = lib
|
|
|
|
TARGET = fcdhid
|
|
|
|
|
2018-09-28 10:45:08 -04:00
|
|
|
CONFIG(MINGW32):INCLUDEPATH += "C:\softs\libusb-1.0.22\include"
|
2016-03-24 06:30:06 -04:00
|
|
|
CONFIG(MINGW32):DEFINES += MINGW32=1
|
|
|
|
|
2018-09-28 10:45:08 -04:00
|
|
|
CONFIG(MINGW64):INCLUDEPATH += "C:\softs\libusb-1.0.22\include"
|
2016-03-27 12:56:33 -04:00
|
|
|
CONFIG(MINGW64):DEFINES += MINGW32=1
|
|
|
|
|
2017-05-15 06:32:16 -04:00
|
|
|
CONFIG(macx):INCLUDEPATH += "/opt/local/include"
|
|
|
|
|
2016-03-24 06:30:06 -04:00
|
|
|
SOURCES = $$PWD/hid-libusb.c\
|
|
|
|
$$PWD/fcdhid.c
|
|
|
|
|
2017-05-15 06:32:16 -04:00
|
|
|
macx:SOURCES += ../apple/apple_compat.c
|
|
|
|
|
2016-03-24 06:30:06 -04:00
|
|
|
HEADERS = $$PWD/fcdhid.h\
|
|
|
|
$$PWD/hid-libusb.h\
|
|
|
|
$$PWD/hidapi.h
|
|
|
|
|
2018-09-28 10:45:08 -04:00
|
|
|
CONFIG(MINGW32):LIBS += -LC:\softs\libusb-1.0.22\MinGW32\dll -llibusb-1.0 -liconv
|
|
|
|
CONFIG(MINGW64):LIBS += -LC:\softs\libusb-1.0.22\MinGW64\dll -llibusb-1.0 -liconv
|
2017-05-15 06:32:16 -04:00
|
|
|
CONFIG(macx):LIBS += -L/opt/local/lib -lusb-1.0 -liconv
|
2018-12-27 03:48:30 -05:00
|
|
|
|
|
|
|
macx {
|
|
|
|
QMAKE_LFLAGS_SONAME = -Wl,-install_name,@rpath/
|
|
|
|
}
|