1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 17:58:43 -05:00
sdrangel/libhackrf/libhackrf.pro

40 lines
1.3 KiB
Prolog
Raw Normal View History

2016-03-12 18:34:46 -05:00
#--------------------------------------------------------
#
# Pro file for Android and Windows builds with Qt Creator
#
#--------------------------------------------------------
QT += core
TEMPLATE = lib
TARGET = libhackrf
2018-07-11 12:05:05 -04:00
CONFIG(MINGW32):LIBHACKRFSRC = "C:\softs\hackrf\host\libhackrf"
CONFIG(MINGW64):LIBHACKRFSRC = "C:\softs\hackrf\host\libhackrf"
CONFIG(MSVC):LIBHACKRFSRC = "C:\softs\hackrf\host\libhackrf"
2016-03-12 18:34:46 -05:00
INCLUDEPATH += $$LIBHACKRFSRC/src
2019-01-27 12:26:00 -05:00
CONFIG(MINGW32):INCLUDEPATH += "C:\softs\libusb-1.0.21\include\libusb-1.0"
CONFIG(MINGW64):INCLUDEPATH += "C:\softs\libusb-1.0.21\include\libusb-1.0"
CONFIG(MSVC):INCLUDEPATH += "C:\softs\libusb-1.0.21\include\libusb-1.0"
CONFIG(MSVC):INCLUDEPATH += "C:\softs\pthreads-w32\include"
CONFIG(macx):INCLUDEPATH += "/opt/local/include"
2016-03-12 18:34:46 -05:00
SOURCES = $$LIBHACKRFSRC/src/hackrf.c
HEADERS = $$LIBHACKRFSRC/src/hackrf.h
2019-01-27 12:26:00 -05:00
CONFIG(MINGW32):LIBS += -LC:\softs\libusb-1.0.21\MinGW32\dll -llibusb-1.0
CONFIG(MINGW64):LIBS += -LC:\softs\libusb-1.0.21\MinGW64\dll -llibusb-1.0
CONFIG(MSVC):LIBS += -LC:\softs\libusb-1.0.21\MS64\dll -llibusb-1.0
CONFIG(MSVC):LIBS += -LC:\softs\pthreads-w32\lib\x64 -lpthreadVC2
macx {
SOURCES =
HEADERS =
LIBS += -L/opt/local/lib -lhackrf
}
2016-03-12 18:34:46 -05:00
CONFIG(ANDROID):CONFIG += mobility
CONFIG(ANDROID):MOBILITY =