2016-03-12 23:34:46 +00:00
|
|
|
#--------------------------------------------------------
|
|
|
|
#
|
|
|
|
# Pro file for Android and Windows builds with Qt Creator
|
|
|
|
#
|
|
|
|
#--------------------------------------------------------
|
|
|
|
|
|
|
|
QT += core
|
|
|
|
|
|
|
|
TEMPLATE = lib
|
|
|
|
TARGET = libhackrf
|
|
|
|
|
2018-07-11 16:05:05 +00:00
|
|
|
CONFIG(MINGW32):LIBHACKRFSRC = "C:\softs\hackrf\host\libhackrf"
|
|
|
|
CONFIG(MINGW64):LIBHACKRFSRC = "C:\softs\hackrf\host\libhackrf"
|
2018-11-09 18:06:23 +00:00
|
|
|
CONFIG(MSVC):LIBHACKRFSRC = "C:\softs\hackrf\host\libhackrf"
|
|
|
|
|
2016-03-12 23:34:46 +00:00
|
|
|
INCLUDEPATH += $$LIBHACKRFSRC/src
|
|
|
|
|
2018-09-28 14:45:08 +00: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 18:06:23 +00:00
|
|
|
CONFIG(MSVC):INCLUDEPATH += "C:\softs\libusb-1.0.22\include\libusb-1.0"
|
|
|
|
CONFIG(MSVC):INCLUDEPATH += "C:\softs\pthreads-w32\include"
|
2016-03-12 23:34:46 +00:00
|
|
|
|
|
|
|
SOURCES = $$LIBHACKRFSRC/src/hackrf.c
|
|
|
|
|
|
|
|
HEADERS = $$LIBHACKRFSRC/src/hackrf.h
|
|
|
|
|
2018-09-28 14:45:08 +00: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 18:06:23 +00:00
|
|
|
CONFIG(MSVC):LIBS += -LC:\softs\libusb-1.0.22\MS64\dll -llibusb-1.0
|
|
|
|
CONFIG(MSVC):LIBS += -LC:\softs\pthreads-w32\lib\x64 -lpthreadVC2
|
2016-03-12 23:34:46 +00:00
|
|
|
|
|
|
|
CONFIG(ANDROID):CONFIG += mobility
|
|
|
|
CONFIG(ANDROID):MOBILITY =
|