2018-01-11 01:21:29 +00:00
|
|
|
#--------------------------------------------------------
|
|
|
|
#
|
|
|
|
# Pro file for Android and Windows builds with Qt Creator
|
|
|
|
#
|
|
|
|
#--------------------------------------------------------
|
|
|
|
|
|
|
|
QT += core
|
|
|
|
|
|
|
|
TEMPLATE = lib
|
|
|
|
TARGET = libairspyhf
|
|
|
|
|
2018-01-14 22:59:57 +00:00
|
|
|
CONFIG(MINGW32):LIBAIRSPYHFSRC = "D:\softs\airspyhf\libairspyhf"
|
|
|
|
CONFIG(MINGW64):LIBAIRSPYHFSRC = "D:\softs\airspyhf\libairspyhf"
|
2018-01-11 01:21:29 +00:00
|
|
|
INCLUDEPATH += $$LIBAIRSPYHFSRC/src
|
|
|
|
|
|
|
|
CONFIG(MINGW32):INCLUDEPATH += "D:\softs\libusb-1.0.20\include\libusb-1.0"
|
|
|
|
CONFIG(MINGW64):INCLUDEPATH += "D:\softs\libusb-1.0.20\include\libusb-1.0"
|
|
|
|
|
2018-01-14 22:59:57 +00:00
|
|
|
SOURCES = $$LIBAIRSPYHFSRC/src/airspyhf.c\
|
|
|
|
$$LIBAIRSPYHFSRC/src/iqbalancer.c\
|
|
|
|
$$LIBAIRSPYHFSRC/src/iqconverter_int16.c
|
2018-01-11 01:21:29 +00:00
|
|
|
|
2018-01-14 22:59:57 +00:00
|
|
|
HEADERS = $$LIBAIRSPYHFSRC/src/airspyhf.h\
|
|
|
|
$$LIBAIRSPYHFSRC/src/airspyhf_commands.h\
|
|
|
|
$$LIBAIRSPYHFSRC/src/iqbalancer.h\
|
|
|
|
$$LIBAIRSPYHFSRC/src/iqconverter_int16.h
|
2018-01-11 01:21:29 +00:00
|
|
|
|
|
|
|
CONFIG(MINGW32):LIBS += -LD:\softs\libusb-1.0.20\MinGW32\dll -llibusb-1.0
|
|
|
|
CONFIG(MINGW64):LIBS += -LD:\softs\libusb-1.0.20\MinGW64\dll -llibusb-1.0
|
|
|
|
|
|
|
|
CONFIG(ANDROID):CONFIG += mobility
|
|
|
|
CONFIG(ANDROID):MOBILITY =
|