1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-22 16:08:39 -05:00
sdrangel/fcdhid/fcdhid.pro
ZigaS b743943c70 Update to Qt 5.12.0.
Project files with MacOS clang RPATH to use proper paths for shared objects.
Minor path updates in favor of loading plugin libs.
Deployment script packaging using Qt way(macdeployqt).
2018-12-27 09:48:30 +01:00

36 lines
883 B
Prolog

#--------------------------------------------
#
# Pro file for Windows build with Qt Creator
#
#--------------------------------------------
QT += core
TEMPLATE = lib
TARGET = fcdhid
CONFIG(MINGW32):INCLUDEPATH += "C:\softs\libusb-1.0.22\include"
CONFIG(MINGW32):DEFINES += MINGW32=1
CONFIG(MINGW64):INCLUDEPATH += "C:\softs\libusb-1.0.22\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
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
CONFIG(macx):LIBS += -L/opt/local/lib -lusb-1.0 -liconv
macx {
QMAKE_LFLAGS_SONAME = -Wl,-install_name,@rpath/
}