From 5adb6f5794a7bb9d2965b796a517e5050049dde0 Mon Sep 17 00:00:00 2001 From: f4exb Date: Tue, 9 May 2017 12:08:48 +0200 Subject: [PATCH] LimeSDR Windows build: use internal LimeSuite for devices support --- devices/devices.pro | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/devices/devices.pro b/devices/devices.pro index eece4d0d6..3d58982c9 100644 --- a/devices/devices.pro +++ b/devices/devices.pro @@ -18,10 +18,24 @@ CONFIG(MINGW32):LIBBLADERFSRC = "D:\softs\bladeRF\host\libraries\libbladeRF\incl CONFIG(MINGW64):LIBBLADERFSRC = "D:\softs\bladeRF\host\libraries\libbladeRF\include" CONFIG(MINGW32):LIBHACKRFSRC = "D:\softs\hackrf\host" CONFIG(MINGW64):LIBHACKRFSRC = "D:\softs\hackrf\host" +CONFIG(MINGW32):LIBLIMESUITESRC = "D:\softs\LimeSuite" +CONFIG(MINGW64):LIBLIMESUITESRC = "D:\softs\LimeSuite" + INCLUDEPATH += $$PWD -INCLUDEPATH += ../../../sdrbase +INCLUDEPATH += ../sdrbase INCLUDEPATH += $$LIBBLADERFSRC INCLUDEPATH += $$LIBHACKRFSRC +INCLUDEPATH += ../liblimesuite/srcmw +INCLUDEPATH += $$LIBLIMESUITESRC/src +INCLUDEPATH += $$LIBLIMESUITESRC/src/ADF4002 +INCLUDEPATH += $$LIBLIMESUITESRC/src/ConnectionRegistry +INCLUDEPATH += $$LIBLIMESUITESRC/src/FPGA_common +INCLUDEPATH += $$LIBLIMESUITESRC/src/GFIR +INCLUDEPATH += $$LIBLIMESUITESRC/src/lms7002m +INCLUDEPATH += $$LIBLIMESUITESRC/src/lms7002m_mcu +INCLUDEPATH += $$LIBLIMESUITESRC/src/Si5351C +INCLUDEPATH += $$LIBLIMESUITESRC/src/protocols +INCLUDEPATH += $$LIBLIMESUITESRC/external/cpp-feather-ini-parser CONFIG(Release):build_subdir = release CONFIG(Debug):build_subdir = debug @@ -29,15 +43,22 @@ CONFIG(Debug):build_subdir = debug SOURCES += bladerf/devicebladerf.cpp\ bladerf/devicebladerfvalues.cpp\ hackrf/devicehackrf.cpp\ - hackrf/devicehackrfvalues.cpp + hackrf/devicehackrfvalues.cpp\ + limesdr/devicelimesdr.cpp\ + limesdr/devicelimesdrparam.cpp\ + limesdr/devicelimesdrshared.cpp HEADERS += bladerf/devicebladerf.h\ bladerf/devicebladerfparam.h\ bladerf/devicebladerfvalues.h\ hackrf/devicehackrf.h\ hackrf/devicehackrfparam.h\ - hackrf/devicehackrfvalues.h + hackrf/devicehackrfvalues.h\ + limesdr/devicelimesdr.h\ + limesdr/devicelimesdrparam.h\ + limesdr/devicelimesdrshared.h LIBS += -L../sdrbase/$${build_subdir} -lsdrbase LIBS += -L../libbladerf/$${build_subdir} -llibbladerf LIBS += -L../libhackrf/$${build_subdir} -llibhackrf +LIBS += -L../liblimesuite/$${build_subdir} -lliblimesuite