2016-03-12 23:34:46 +00:00
|
|
|
#--------------------------------------------------------
|
|
|
|
#
|
|
|
|
# Pro file for Android and Windows builds with Qt Creator
|
|
|
|
#
|
|
|
|
#--------------------------------------------------------
|
|
|
|
|
|
|
|
QT += core
|
|
|
|
|
|
|
|
TEMPLATE = lib
|
|
|
|
TARGET = libhackrf
|
|
|
|
|
|
|
|
CONFIG(MINGW32):LIBHACKRFSRC = "D:\softs\hackrf\host\libhackrf"
|
2016-03-27 16:56:33 +00:00
|
|
|
CONFIG(MINGW64):LIBHACKRFSRC = "D:\softs\hackrf\host\libhackrf"
|
2016-03-12 23:34:46 +00:00
|
|
|
INCLUDEPATH += $$LIBHACKRFSRC/src
|
|
|
|
|
2017-01-10 22:21:22 +00:00
|
|
|
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"
|
2016-03-12 23:34:46 +00:00
|
|
|
|
|
|
|
SOURCES = $$LIBHACKRFSRC/src/hackrf.c
|
|
|
|
|
|
|
|
HEADERS = $$LIBHACKRFSRC/src/hackrf.h
|
|
|
|
|
2017-01-10 22:21:22 +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
|
2016-03-12 23:34:46 +00:00
|
|
|
|
|
|
|
CONFIG(ANDROID):CONFIG += mobility
|
|
|
|
CONFIG(ANDROID):MOBILITY =
|