2016-03-11 21:17:30 -05:00
|
|
|
#--------------------------------------------------------
|
|
|
|
#
|
|
|
|
# Pro file for Android and Windows builds with Qt Creator
|
|
|
|
#
|
|
|
|
#--------------------------------------------------------
|
|
|
|
|
|
|
|
QT += core
|
|
|
|
|
|
|
|
TEMPLATE = lib
|
|
|
|
TARGET = librtlsdr
|
|
|
|
|
2018-07-11 12:05:05 -04:00
|
|
|
CONFIG(MINGW32):LIBRTLSDRSRC = "C:\softs\librtlsdr"
|
|
|
|
CONFIG(MINGW64):LIBRTLSDRSRC = "C:\softs\librtlsdr"
|
2018-11-09 13:06:23 -05:00
|
|
|
CONFIG(MSVC):LIBRTLSDRSRC = "C:\softs\librtlsdr"
|
|
|
|
|
2018-09-28 10:45:08 -04:00
|
|
|
CONFIG(MINGW32):INCLUDEPATH += "C:\softs\libusb-1.0.22\include\libusb-1.0"
|
|
|
|
CONFIG(MINGW64):INCLUDEPATH += "C:\softs\libusb-1.0.22\include\libusb-1.0"
|
2018-11-09 13:06:23 -05:00
|
|
|
CONFIG(MSVC):INCLUDEPATH += "C:\softs\libusb-1.0.22\include\libusb-1.0"
|
2019-01-01 09:30:20 -05:00
|
|
|
CONFIG(macx):INCLUDEPATH += /opt/local/include
|
2019-01-07 11:51:18 -05:00
|
|
|
CONFIG(MSVC):INCLUDEPATH += "C:\softs\librtlsdr\include"
|
2016-03-11 21:17:30 -05: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\
|
2017-11-12 19:54:29 -05:00
|
|
|
$$LIBRTLSDRSRC/src/getopt/getopt.c\
|
|
|
|
$$LIBRTLSDRSRC/src/convenience/convenience.c
|
2016-03-11 21:17:30 -05:00
|
|
|
|
2017-11-12 19:54:29 -05:00
|
|
|
HEADERS = $$LIBRTLSDRSRC/include/reg_field.h\
|
2016-03-11 21:17:30 -05:00
|
|
|
$$LIBRTLSDRSRC/include/rtl-sdr_export.h\
|
2017-11-12 19:54:29 -05:00
|
|
|
$$LIBRTLSDRSRC/include/rtlsdr_i2c.h\
|
|
|
|
$$LIBRTLSDRSRC/include/rtl-sdr.h\
|
|
|
|
$$LIBRTLSDRSRC/include/tuner_e4k.h\
|
|
|
|
$$LIBRTLSDRSRC/include/tuner_fc0012.h\
|
|
|
|
$$LIBRTLSDRSRC/include/tuner_fc0013.h\
|
|
|
|
$$LIBRTLSDRSRC/include/tuner_fc2580.h\
|
|
|
|
$$LIBRTLSDRSRC/include/tuner_r82xx.h\
|
|
|
|
$$LIBRTLSDRSRC/src/getopt/getopt.h\
|
|
|
|
$$LIBRTLSDRSRC/src/convenience/convenience.h
|
2016-03-11 21:17:30 -05:00
|
|
|
|
2018-09-28 10:45:08 -04:00
|
|
|
CONFIG(MINGW32):LIBS += -LC:\softs\libusb-1.0.22\MinGW32\dll -llibusb-1.0
|
|
|
|
CONFIG(MINGW64):LIBS += -LC:\softs\libusb-1.0.22\MinGW64\dll -llibusb-1.0
|
2018-11-09 13:06:23 -05:00
|
|
|
CONFIG(MSVC):LIBS += -LC:\softs\libusb-1.0.22\MS64\dll -llibusb-1.0
|
2019-01-01 09:30:20 -05:00
|
|
|
macx {
|
|
|
|
SOURCES =
|
|
|
|
HEADERS =
|
|
|
|
LIBS += -L/opt/local/lib -lrtlsdr
|
|
|
|
}
|
2016-03-11 21:17:30 -05:00
|
|
|
|
|
|
|
CONFIG(ANDROID):CONFIG += mobility
|
|
|
|
CONFIG(ANDROID):MOBILITY =
|