mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 18:15:45 -05:00
28 lines
805 B
Prolog
28 lines
805 B
Prolog
#--------------------------------------------------------
|
|
#
|
|
# Pro file for Android and Windows builds with Qt Creator
|
|
#
|
|
#--------------------------------------------------------
|
|
|
|
QT += core
|
|
|
|
TEMPLATE = lib
|
|
TARGET = libhackrf
|
|
|
|
CONFIG(MINGW32):LIBHACKRFSRC = "D:\softs\hackrf\host\libhackrf"
|
|
CONFIG(MINGW64):LIBHACKRFSRC = "D:\softs\hackrf\host\libhackrf"
|
|
INCLUDEPATH += $$LIBHACKRFSRC/src
|
|
|
|
CONFIG(MINGW32):INCLUDEPATH += "D:\libusb-1.0.19\include\libusb-1.0"
|
|
CONFIG(MINGW64):INCLUDEPATH += "D:\libusb-1.0.19\include\libusb-1.0"
|
|
|
|
SOURCES = $$LIBHACKRFSRC/src/hackrf.c
|
|
|
|
HEADERS = $$LIBHACKRFSRC/src/hackrf.h
|
|
|
|
CONFIG(MINGW32):LIBS += -LD:\libusb-1.0.19\MinGW32\dll -llibusb-1.0
|
|
CONFIG(MINGW64):LIBS += -LD:\libusb-1.0.19\MinGW64\dll -llibusb-1.0
|
|
|
|
CONFIG(ANDROID):CONFIG += mobility
|
|
CONFIG(ANDROID):MOBILITY =
|