2016-03-12 02:17:30 +00:00
|
|
|
#--------------------------------------------------------
|
|
|
|
#
|
|
|
|
# Pro file for Android and Windows builds with Qt Creator
|
|
|
|
#
|
|
|
|
#--------------------------------------------------------
|
|
|
|
|
|
|
|
QT += core
|
|
|
|
|
|
|
|
TEMPLATE = lib
|
|
|
|
TARGET = librtlsdr
|
|
|
|
|
|
|
|
CONFIG(MINGW32):LIBRTLSDRSRC = "D:\softs\librtlsdr"
|
|
|
|
INCLUDEPATH += $$LIBRTLSDRSRC/include
|
|
|
|
|
2016-03-12 23:34:46 +00:00
|
|
|
CONFIG(MINGW32):INCLUDEPATH += "D:\libusb-1.0.19\include\libusb-1.0"
|
2016-03-12 02:17:30 +00:00
|
|
|
|
|
|
|
SOURCES = $$LIBRTLSDRSRC/src/librtlsdr.c\
|
|
|
|
$$LIBRTLSDRSRC/src/tuner_e4k.c\
|
|
|
|
$$LIBRTLSDRSRC/src/tuner_fc0012.c\
|
|
|
|
$$LIBRTLSDRSRC/src/tuner_fc0013.c\
|
|
|
|
$$LIBRTLSDRSRC/src/tuner_fc2580.c\
|
|
|
|
$$LIBRTLSDRSRC/src/tuner_r82xx.c\
|
|
|
|
$$LIBRTLSDRSRC/src/getopt/getopt.c
|
|
|
|
|
|
|
|
HEADERS = $$LIBRTLSDRSRC/include/rtl-sdr.h\
|
|
|
|
$$LIBRTLSDRSRC/include/rtl-sdr_export.h\
|
|
|
|
$$LIBRTLSDRSRC/src/getopt/getopt.h
|
|
|
|
|
2016-03-12 23:34:46 +00:00
|
|
|
CONFIG(MINGW32):LIBS += -LD:\libusb-1.0.19\MinGW32\dll -llibusb-1.0
|
2016-03-12 02:17:30 +00:00
|
|
|
|
|
|
|
CONFIG(ANDROID):CONFIG += mobility
|
|
|
|
CONFIG(ANDROID):MOBILITY =
|