2016-03-12 19:22:00 -05:00
|
|
|
#--------------------------------------------------------
|
|
|
|
#
|
|
|
|
# Pro file for Android and Windows builds with Qt Creator
|
|
|
|
#
|
|
|
|
#--------------------------------------------------------
|
|
|
|
|
|
|
|
QT += core
|
|
|
|
|
|
|
|
TEMPLATE = lib
|
|
|
|
TARGET = libairspy
|
|
|
|
|
2018-07-11 12:05:05 -04:00
|
|
|
CONFIG(MINGW32):LIBAIRSPYSRC = "C:\softs\libairspy\libairspy"
|
|
|
|
CONFIG(MINGW64):LIBAIRSPYSRC = "C:\softs\libairspy\libairspy"
|
2018-11-09 13:06:23 -05:00
|
|
|
CONFIG(MSVC):LIBAIRSPYSRC = "C:\softs\libairspy\libairspy"
|
|
|
|
|
2016-03-12 19:22:00 -05:00
|
|
|
INCLUDEPATH += $$LIBAIRSPYSRC/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 += "/opt/local/include"
|
2018-11-09 13:06:23 -05:00
|
|
|
|
|
|
|
CONFIG(MSVC):DEFINES += _TIMESPEC_DEFINED
|
2016-03-12 19:22:00 -05:00
|
|
|
|
|
|
|
SOURCES = $$LIBAIRSPYSRC/src/airspy.c\
|
|
|
|
$$LIBAIRSPYSRC/src/iqconverter_float.c\
|
|
|
|
$$LIBAIRSPYSRC/src/iqconverter_int16.c
|
|
|
|
|
|
|
|
HEADERS = $$LIBAIRSPYSRC/src/airspy.h\
|
|
|
|
$$LIBAIRSPYSRC/src/airspy_commands.h\
|
|
|
|
$$LIBAIRSPYSRC/src/iqconverter_float.h\
|
|
|
|
$$LIBAIRSPYSRC/src/iqconverter_int16.h\
|
|
|
|
$$LIBAIRSPYSRC/src/filters.h
|
|
|
|
|
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/opt/local/lib -lairspy
|
|
|
|
}
|
2016-03-12 19:22:00 -05:00
|
|
|
|
|
|
|
CONFIG(ANDROID):CONFIG += mobility
|
|
|
|
CONFIG(ANDROID):MOBILITY =
|