From 127b3be6be3540de9699fc42da85a0607d31be82 Mon Sep 17 00:00:00 2001 From: f4exb Date: Mon, 9 Jan 2017 01:18:39 +0100 Subject: [PATCH] Windows build: added HackRF stuff in the devices library --- devices/devices.pro | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/devices/devices.pro b/devices/devices.pro index 5956f100c..2d6a6d20e 100644 --- a/devices/devices.pro +++ b/devices/devices.pro @@ -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