mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 10:05:46 -05:00
PlutoSDR input: Windows build
This commit is contained in:
parent
d0816622aa
commit
7fed299b97
@ -23,6 +23,8 @@ CONFIG(MINGW32):LIBHACKRFSRC = "D:\softs\hackrf\host"
|
|||||||
CONFIG(MINGW64):LIBHACKRFSRC = "D:\softs\hackrf\host"
|
CONFIG(MINGW64):LIBHACKRFSRC = "D:\softs\hackrf\host"
|
||||||
CONFIG(MINGW32):LIBLIMESUITESRC = "D:\softs\LimeSuite"
|
CONFIG(MINGW32):LIBLIMESUITESRC = "D:\softs\LimeSuite"
|
||||||
CONFIG(MINGW64):LIBLIMESUITESRC = "D:\softs\LimeSuite"
|
CONFIG(MINGW64):LIBLIMESUITESRC = "D:\softs\LimeSuite"
|
||||||
|
CONFIG(MINGW32):LIBIIOSRC = "D:\softs\libiio"
|
||||||
|
CONFIG(MINGW64):LIBIIOSRC = "D:\softs\libiio"
|
||||||
|
|
||||||
INCLUDEPATH += $$PWD
|
INCLUDEPATH += $$PWD
|
||||||
INCLUDEPATH += ../sdrbase
|
INCLUDEPATH += ../sdrbase
|
||||||
@ -40,6 +42,7 @@ INCLUDEPATH += $$LIBLIMESUITESRC/src/lms7002m_mcu
|
|||||||
INCLUDEPATH += $$LIBLIMESUITESRC/src/Si5351C
|
INCLUDEPATH += $$LIBLIMESUITESRC/src/Si5351C
|
||||||
INCLUDEPATH += $$LIBLIMESUITESRC/src/protocols
|
INCLUDEPATH += $$LIBLIMESUITESRC/src/protocols
|
||||||
INCLUDEPATH += $$LIBLIMESUITESRC/external/cpp-feather-ini-parser
|
INCLUDEPATH += $$LIBLIMESUITESRC/external/cpp-feather-ini-parser
|
||||||
|
INCLUDEPATH += $$LIBIIOSRC
|
||||||
|
|
||||||
CONFIG(Release):build_subdir = release
|
CONFIG(Release):build_subdir = release
|
||||||
CONFIG(Debug):build_subdir = debug
|
CONFIG(Debug):build_subdir = debug
|
||||||
@ -56,6 +59,12 @@ SOURCES += limesdr/devicelimesdr.cpp\
|
|||||||
limesdr/devicelimesdrparam.cpp\
|
limesdr/devicelimesdrparam.cpp\
|
||||||
limesdr/devicelimesdrshared.cpp
|
limesdr/devicelimesdrshared.cpp
|
||||||
|
|
||||||
|
SOURCES += plutosdr/deviceplutosdr.cpp\
|
||||||
|
plutosdr/deviceplutosdrbox.cpp\
|
||||||
|
plutosdr/deviceplutosdrparams.cpp\
|
||||||
|
plutosdr/deviceplutosdrscan.cpp\
|
||||||
|
plutosdr/deviceplutosdrshared.cpp
|
||||||
|
|
||||||
!macx:HEADERS -= bladerf/devicebladerf.h\
|
!macx:HEADERS -= bladerf/devicebladerf.h\
|
||||||
bladerf/devicebladerfparam.h\
|
bladerf/devicebladerfparam.h\
|
||||||
bladerf/devicebladerfvalues.h\
|
bladerf/devicebladerfvalues.h\
|
||||||
@ -70,10 +79,17 @@ HEADERS += limesdr/devicelimesdr.h\
|
|||||||
limesdr/devicelimesdrparam.h\
|
limesdr/devicelimesdrparam.h\
|
||||||
limesdr/devicelimesdrshared.h
|
limesdr/devicelimesdrshared.h
|
||||||
|
|
||||||
|
HEADERS += plutosdr/deviceplutosdr.h\
|
||||||
|
plutosdr/deviceplutosdrbox.h\
|
||||||
|
plutosdr/deviceplutosdrparams.h\
|
||||||
|
plutosdr/deviceplutosdrscan.h\
|
||||||
|
plutosdr/deviceplutosdrshared.h
|
||||||
|
|
||||||
LIBS += -L../sdrbase/$${build_subdir} -lsdrbase
|
LIBS += -L../sdrbase/$${build_subdir} -lsdrbase
|
||||||
LIBS += -L../libbladerf/$${build_subdir} -llibbladerf
|
LIBS += -L../libbladerf/$${build_subdir} -llibbladerf
|
||||||
LIBS += -L../libhackrf/$${build_subdir} -llibhackrf
|
LIBS += -L../libhackrf/$${build_subdir} -llibhackrf
|
||||||
LIBS += -L../liblimesuite/$${build_subdir} -lliblimesuite
|
LIBS += -L../liblimesuite/$${build_subdir} -lliblimesuite
|
||||||
|
LIBS += -L../libiio/$${build_subdir} -llibiio
|
||||||
|
|
||||||
macx {
|
macx {
|
||||||
LIBS -= -L../libbladerf/$${build_subdir} -llibbladerf
|
LIBS -= -L../libbladerf/$${build_subdir} -llibbladerf
|
||||||
|
@ -12,7 +12,9 @@ TARGET = libiio
|
|||||||
CONFIG(MINGW32):LIBIIOSRC = "D:\softs\libiio"
|
CONFIG(MINGW32):LIBIIOSRC = "D:\softs\libiio"
|
||||||
CONFIG(MINGW64):LIBIIOSRC = "D:\softs\libiio"
|
CONFIG(MINGW64):LIBIIOSRC = "D:\softs\libiio"
|
||||||
|
|
||||||
INCLUDEPATH += $$PWD/include
|
DEFINES += LIBIIO_EXPORTS=1
|
||||||
|
|
||||||
|
INCLUDEPATH += $$PWD/includemw
|
||||||
INCLUDEPATH += $$LIBIIOSRC
|
INCLUDEPATH += $$LIBIIOSRC
|
||||||
|
|
||||||
CONFIG(MINGW32):INCLUDEPATH += "D:\softs\libusb-1.0.20\include"
|
CONFIG(MINGW32):INCLUDEPATH += "D:\softs\libusb-1.0.20\include"
|
||||||
@ -45,7 +47,7 @@ HEADERS = $$LIBIIOSRC/debug.h\
|
|||||||
$$LIBIIOSRC/iiod-client.h\
|
$$LIBIIOSRC/iiod-client.h\
|
||||||
$$LIBIIOSRC/iio-lock.h\
|
$$LIBIIOSRC/iio-lock.h\
|
||||||
$$LIBIIOSRC/iio-private.h\
|
$$LIBIIOSRC/iio-private.h\
|
||||||
$$PWD\includemw/iio-config.h
|
$$PWD/includemw/iio-config.h
|
||||||
|
|
||||||
CONFIG(MINGW32):LIBS += -LD:\softs\libusb-1.0.20\MinGW32\dll -llibusb-1.0
|
CONFIG(MINGW32):LIBS += -LD:\softs\libusb-1.0.20\MinGW32\dll -llibusb-1.0
|
||||||
CONFIG(MINGW64):LIBS += -LD:\softs\libusb-1.0.20\MinGW64\dll -llibusb-1.0
|
CONFIG(MINGW64):LIBS += -LD:\softs\libusb-1.0.20\MinGW64\dll -llibusb-1.0
|
||||||
|
49
plugins/samplesource/plutosdrinput/plutosdrinput.pro
Normal file
49
plugins/samplesource/plutosdrinput/plutosdrinput.pro
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
#--------------------------------------------------------
|
||||||
|
#
|
||||||
|
# Pro file for Android and Windows builds with Qt Creator
|
||||||
|
#
|
||||||
|
#--------------------------------------------------------
|
||||||
|
|
||||||
|
TEMPLATE = lib
|
||||||
|
CONFIG += plugin
|
||||||
|
|
||||||
|
QT += core gui widgets multimedia opengl
|
||||||
|
|
||||||
|
TARGET = inputplutosdr
|
||||||
|
|
||||||
|
DEFINES += USE_SSE2=1
|
||||||
|
QMAKE_CXXFLAGS += -msse2
|
||||||
|
DEFINES += USE_SSE4_1=1
|
||||||
|
QMAKE_CXXFLAGS += -msse4.1
|
||||||
|
|
||||||
|
CONFIG(MINGW32):LIBIIOSRC = "D:\softs\libiio"
|
||||||
|
CONFIG(MINGW64):LIBIIOSRC = "D:\softs\libiio"
|
||||||
|
|
||||||
|
INCLUDEPATH += $$PWD
|
||||||
|
INCLUDEPATH += ../../../sdrbase
|
||||||
|
INCLUDEPATH += ../../../devices
|
||||||
|
INCLUDEPATH += ../../../libiio/includemw
|
||||||
|
INCLUDEPATH += $$LIBIIOSRC
|
||||||
|
|
||||||
|
CONFIG(Release):build_subdir = release
|
||||||
|
CONFIG(Debug):build_subdir = debug
|
||||||
|
|
||||||
|
SOURCES += plutosdrinputgui.cpp\
|
||||||
|
plutosdrinput.cpp\
|
||||||
|
plutosdrinputplugin.cpp\
|
||||||
|
plutosdrinputsettings.cpp\
|
||||||
|
plutosdrinputthread.cpp
|
||||||
|
|
||||||
|
HEADERS += plutosdrinputgui.h\
|
||||||
|
plutosdrinput.h\
|
||||||
|
plutosdrinputplugin.h\
|
||||||
|
plutosdrinputsettings.h\
|
||||||
|
plutosdrinputthread.h
|
||||||
|
|
||||||
|
FORMS += plutosdrinputgui.ui
|
||||||
|
|
||||||
|
LIBS += -L../../../sdrbase/$${build_subdir} -lsdrbase
|
||||||
|
LIBS += -L../../../libiio/$${build_subdir} -llibiio
|
||||||
|
LIBS += -L../../../devices/$${build_subdir} -ldevices
|
||||||
|
|
||||||
|
RESOURCES = ../../../sdrbase/resources/res.qrc
|
@ -16,6 +16,7 @@ SUBDIRS += libairspy
|
|||||||
SUBDIRS += libbladerf
|
SUBDIRS += libbladerf
|
||||||
SUBDIRS += libsqlite3
|
SUBDIRS += libsqlite3
|
||||||
SUBDIRS += liblimesuite
|
SUBDIRS += liblimesuite
|
||||||
|
SUBDIRS += libiio
|
||||||
SUBDIRS += devices
|
SUBDIRS += devices
|
||||||
SUBDIRS += mbelib
|
SUBDIRS += mbelib
|
||||||
SUBDIRS += dsdcc
|
SUBDIRS += dsdcc
|
||||||
@ -28,6 +29,7 @@ SUBDIRS += plugins/samplesource/hackrfinput
|
|||||||
SUBDIRS += plugins/samplesource/airspy
|
SUBDIRS += plugins/samplesource/airspy
|
||||||
SUBDIRS += plugins/samplesource/bladerfinput
|
SUBDIRS += plugins/samplesource/bladerfinput
|
||||||
SUBDIRS += plugins/samplesource/limesdrinput
|
SUBDIRS += plugins/samplesource/limesdrinput
|
||||||
|
SUBDIRS += plugins/samplesource/plutosdrinput
|
||||||
SUBDIRS += plugins/samplesink/filesink
|
SUBDIRS += plugins/samplesink/filesink
|
||||||
SUBDIRS += plugins/samplesink/bladerfoutput
|
SUBDIRS += plugins/samplesink/bladerfoutput
|
||||||
SUBDIRS += plugins/samplesink/hackrfoutput
|
SUBDIRS += plugins/samplesink/hackrfoutput
|
||||||
|
@ -28,6 +28,7 @@ copy libairspy\%1\libairspy.dll %2
|
|||||||
copy libbladerf\%1\libbladerf.dll %2
|
copy libbladerf\%1\libbladerf.dll %2
|
||||||
copy libsqlite3\%1\libsqlite3.dll %2
|
copy libsqlite3\%1\libsqlite3.dll %2
|
||||||
copy liblimesuite\%1\liblimesuite.dll %2
|
copy liblimesuite\%1\liblimesuite.dll %2
|
||||||
|
copy libiio\%1\libiio.dll %2
|
||||||
copy %libusbdir%\dll\libusb-1.0.dll %2
|
copy %libusbdir%\dll\libusb-1.0.dll %2
|
||||||
copy %opencvdir%\opencv_ffmpeg2413_64.dll %2
|
copy %opencvdir%\opencv_ffmpeg2413_64.dll %2
|
||||||
copy %opencvdir%\libopencv_imgproc2413.dll %2
|
copy %opencvdir%\libopencv_imgproc2413.dll %2
|
||||||
@ -63,6 +64,7 @@ copy plugins\samplesource\hackrfinput\%1\inputhackrf.dll %2\plugins\samplesource
|
|||||||
copy plugins\samplesource\airspy\%1\inputairspy.dll %2\plugins\samplesource
|
copy plugins\samplesource\airspy\%1\inputairspy.dll %2\plugins\samplesource
|
||||||
copy plugins\samplesource\bladerfinput\%1\inputbladerf.dll %2\plugins\samplesource
|
copy plugins\samplesource\bladerfinput\%1\inputbladerf.dll %2\plugins\samplesource
|
||||||
copy plugins\samplesource\limesdrinput\%1\inputlimesdr.dll %2\plugins\samplesource
|
copy plugins\samplesource\limesdrinput\%1\inputlimesdr.dll %2\plugins\samplesource
|
||||||
|
copy plugins\samplesource\plutosdrinput\%1\inputplutosdr.dll %2\plugins\samplesource
|
||||||
copy plugins\samplesink\filesink\%1\outputfilesink.dll %2\plugins\samplesink
|
copy plugins\samplesink\filesink\%1\outputfilesink.dll %2\plugins\samplesink
|
||||||
copy plugins\samplesink\bladerfoutput\%1\outputbladerf.dll %2\plugins\samplesink
|
copy plugins\samplesink\bladerfoutput\%1\outputbladerf.dll %2\plugins\samplesink
|
||||||
copy plugins\samplesink\hackrfoutput\%1\outputhackrf.dll %2\plugins\samplesink
|
copy plugins\samplesink\hackrfoutput\%1\outputhackrf.dll %2\plugins\samplesink
|
||||||
|
Loading…
Reference in New Issue
Block a user