Windows build: added HackRF stuff in the devices library

pull/27/head
f4exb 2017-01-09 01:18:39 +01:00
rodzic 69858a02de
commit 127b3be6be
1 zmienionych plików z 10 dodań i 2 usunięć

Wyświetl plik

@ -16,19 +16,27 @@ QMAKE_CXXFLAGS += -msse4.1
CONFIG(MINGW32):LIBBLADERFSRC = "D:\softs\bladeRF\host\libraries\libbladeRF\include"
CONFIG(MINGW64):LIBBLADERFSRC = "D:\softs\bladeRF\host\libraries\libbladeRF\include"
CONFIG(MINGW32):LIBHACKRFSRC = "D:\softs\hackrf\host"
CONFIG(MINGW64):LIBHACKRFSRC = "D:\softs\hackrf\host"
INCLUDEPATH += $$PWD
INCLUDEPATH += ../../../sdrbase
INCLUDEPATH += $$LIBBLADERFSRC
INCLUDEPATH += $$LIBHACKRFSRC
CONFIG(Release):build_subdir = release
CONFIG(Debug):build_subdir = debug
SOURCES += bladerf/devicebladerf.cpp\
bladerf/devicebladerfvalues.cpp
bladerf/devicebladerfvalues.cpp\
hackrf/devicehackrf.cpp\
hackrf/devicehackrfvalues.cpp
HEADERS += bladerf/devicebladerf.h\
bladerf/devicebladerfparam.h\
bladerf/devicebladerfvalues.h
bladerf/devicebladerfvalues.h\
hackrf/devicehackrf.h\
hackrf/devicehackrfparam.h\
hackrf/devicehackrfvalues.h
LIBS += -L../sdrbase/$${build_subdir} -lsdrbase
LIBS += -L../libbladerf/$${build_subdir} -llibbladerf