2018-01-10 20:21:29 -05:00
|
|
|
#--------------------------------------------------------
|
|
|
|
#
|
|
|
|
# Pro file for Android and Windows builds with Qt Creator
|
|
|
|
#
|
|
|
|
#--------------------------------------------------------
|
|
|
|
|
|
|
|
QT += core
|
|
|
|
|
|
|
|
TEMPLATE = lib
|
|
|
|
TARGET = libairspyhf
|
|
|
|
|
2018-07-11 12:05:05 -04:00
|
|
|
CONFIG(MINGW32):LIBAIRSPYHFSRC = "C:\softs\airspyhf\libairspyhf"
|
|
|
|
CONFIG(MINGW64):LIBAIRSPYHFSRC = "C:\softs\airspyhf\libairspyhf"
|
2018-11-09 13:06:23 -05:00
|
|
|
CONFIG(MSVC):LIBAIRSPYHFSRC = "C:\softs\airspyhf\libairspyhf"
|
|
|
|
|
2018-01-10 20:21:29 -05:00
|
|
|
INCLUDEPATH += $$LIBAIRSPYHFSRC/src
|
|
|
|
|
2019-01-27 12:26:00 -05:00
|
|
|
CONFIG(MINGW32):INCLUDEPATH += "C:\softs\libusb-1.0.21\include\libusb-1.0"
|
|
|
|
CONFIG(MINGW64):INCLUDEPATH += "C:\softs\libusb-1.0.21\include\libusb-1.0"
|
|
|
|
CONFIG(MSVC):INCLUDEPATH += "C:\softs\libusb-1.0.21\include\libusb-1.0"
|
2018-11-09 13:06:23 -05:00
|
|
|
CONFIG(MSVC):INCLUDEPATH += "C:\softs\pthreads-w32\include"
|
2019-01-01 09:30:20 -05:00
|
|
|
CONFIG(macx):INCLUDEPATH += "/usr/local/include"
|
2018-01-10 20:21:29 -05:00
|
|
|
|
2018-01-14 17:59:57 -05:00
|
|
|
SOURCES = $$LIBAIRSPYHFSRC/src/airspyhf.c\
|
2018-02-08 14:30:58 -05:00
|
|
|
$$LIBAIRSPYHFSRC/src/iqbalancer.c
|
2018-01-10 20:21:29 -05:00
|
|
|
|
2018-01-14 17:59:57 -05:00
|
|
|
HEADERS = $$LIBAIRSPYHFSRC/src/airspyhf.h\
|
|
|
|
$$LIBAIRSPYHFSRC/src/airspyhf_commands.h\
|
2018-02-08 14:30:58 -05:00
|
|
|
$$LIBAIRSPYHFSRC/src/iqbalancer.h
|
2018-01-10 20:21:29 -05:00
|
|
|
|
2019-01-27 12:26:00 -05:00
|
|
|
CONFIG(MINGW32):LIBS += -LC:\softs\libusb-1.0.21\MinGW32\dll -llibusb-1.0
|
|
|
|
CONFIG(MINGW64):LIBS += -LC:\softs\libusb-1.0.21\MinGW64\dll -llibusb-1.0
|
|
|
|
CONFIG(MSVC):LIBS += -LC:\softs\libusb-1.0.21\MS64\dll -llibusb-1.0
|
2018-11-09 13:06:23 -05:00
|
|
|
CONFIG(MSVC):LIBS += -LC:\softs\pthreads-w32\lib\x64 -lpthreadVC2
|
2019-01-01 09:30:20 -05:00
|
|
|
macx {
|
|
|
|
SOURCES =
|
|
|
|
HEADERS =
|
|
|
|
LIBS += -L/usr/local/lib -lairspyhf
|
|
|
|
}
|
2018-01-10 20:21:29 -05:00
|
|
|
|
|
|
|
CONFIG(ANDROID):CONFIG += mobility
|
|
|
|
CONFIG(ANDROID):MOBILITY =
|