mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 01:55:48 -05:00
libbladerRF2: Windows build for bladerf2input plugin
This commit is contained in:
parent
e4ce6c21b2
commit
5c09985664
@ -59,6 +59,9 @@ CONFIG(Debug):build_subdir = debug
|
||||
bladerf1/devicebladerf1values.cpp\
|
||||
bladerf1/devicebladerf1shared.cpp
|
||||
|
||||
!macx:SOURCES += bladerf2/devicebladerf2.cpp\
|
||||
bladerf2/devicebladerf2shared.cpp
|
||||
|
||||
SOURCES += hackrf/devicehackrf.cpp\
|
||||
hackrf/devicehackrfvalues.cpp\
|
||||
hackrf/devicehackrfshared.cpp
|
||||
@ -73,6 +76,9 @@ SOURCES += limesdr/devicelimesdr.cpp\
|
||||
plutosdr/deviceplutosdrscan.cpp\
|
||||
plutosdr/deviceplutosdrshared.cpp
|
||||
|
||||
!macx:HEADERS += bladerf2/devicebladerf2.h\
|
||||
bladerf2/devicebladerf2shared.h
|
||||
|
||||
!macx:HEADERS += bladerf1/devicebladerf1.h\
|
||||
bladerf1/devicebladerf1param.h\
|
||||
bladerf1/devicebladerf1values.h\
|
||||
|
@ -9,7 +9,7 @@ CONFIG += plugin
|
||||
|
||||
QT += core gui widgets multimedia opengl
|
||||
|
||||
TARGET = inputbladerf
|
||||
TARGET = inputbladerf1
|
||||
|
||||
DEFINES += USE_SSE2=1
|
||||
QMAKE_CXXFLAGS += -msse2
|
||||
|
53
plugins/samplesource/bladerf2input/bladerf2input.pro
Normal file
53
plugins/samplesource/bladerf2input/bladerf2input.pro
Normal file
@ -0,0 +1,53 @@
|
||||
#--------------------------------------------
|
||||
#
|
||||
# Pro file for Windows builds with Qt Creator
|
||||
#
|
||||
#--------------------------------------------
|
||||
|
||||
TEMPLATE = lib
|
||||
CONFIG += plugin
|
||||
|
||||
QT += core gui widgets multimedia opengl
|
||||
|
||||
TARGET = inputbladerf2
|
||||
|
||||
DEFINES += USE_SSE2=1
|
||||
QMAKE_CXXFLAGS += -msse2
|
||||
DEFINES += USE_SSE4_1=1
|
||||
QMAKE_CXXFLAGS += -msse4.1
|
||||
QMAKE_CXXFLAGS += -std=c++11
|
||||
|
||||
CONFIG(MINGW32):LIBBLADERF = "C:\Programs\bladeRF"
|
||||
CONFIG(MINGW64):LIBBLADERF = "C:\Programs\bladeRF"
|
||||
INCLUDEPATH += $$PWD
|
||||
INCLUDEPATH += ../../../exports
|
||||
INCLUDEPATH += ../../../sdrbase
|
||||
INCLUDEPATH += ../../../sdrgui
|
||||
INCLUDEPATH += ../../../swagger/sdrangel/code/qt5/client
|
||||
INCLUDEPATH += ../../../devices
|
||||
INCLUDEPATH += $$LIBBLADERF/include
|
||||
|
||||
CONFIG(Release):build_subdir = release
|
||||
CONFIG(Debug):build_subdir = debug
|
||||
|
||||
SOURCES += bladerf2inputgui.cpp\
|
||||
bladerf2input.cpp\
|
||||
bladerf2inputplugin.cpp\
|
||||
bladerf2inputsettings.cpp\
|
||||
bladerf2inputthread.cpp
|
||||
|
||||
HEADERS += bladerf2inputgui.h\
|
||||
bladerf2input.h\
|
||||
bladerf2inputplugin.h\
|
||||
bladerf2inputsettings.h\
|
||||
bladerf2inputthread.h
|
||||
|
||||
FORMS += bladerf2inputgui.ui
|
||||
|
||||
LIBS += -L../../../sdrbase/$${build_subdir} -lsdrbase
|
||||
LIBS += -L../../../sdrgui/$${build_subdir} -lsdrgui
|
||||
LIBS += -L../../../swagger/$${build_subdir} -lswagger
|
||||
LIBS += -L$$LIBBLADERF/lib -lbladeRF
|
||||
LIBS += -L../../../devices/$${build_subdir} -ldevices
|
||||
|
||||
RESOURCES = ../../../sdrgui/resources/res.qrc
|
@ -280,6 +280,12 @@ void BladeRF2InputGui::on_iqImbalance_toggled(bool checked)
|
||||
sendSettings();
|
||||
}
|
||||
|
||||
void BladeRF2InputGui::on_biasTee_toggled(bool checked)
|
||||
{
|
||||
m_settings.m_biasTee = checked;
|
||||
sendSettings();
|
||||
}
|
||||
|
||||
void BladeRF2InputGui::on_bandwidth_changed(quint64 value)
|
||||
{
|
||||
m_settings.m_bandwidth = value * 1000;
|
||||
|
@ -32,6 +32,7 @@ SUBDIRS += dsdcc
|
||||
SUBDIRS += plugins/samplesource/airspy
|
||||
SUBDIRS += plugins/samplesource/airspyhf
|
||||
SUBDIRS += plugins/samplesource/bladerf1input
|
||||
SUBDIRS += plugins/samplesource/bladerf2input
|
||||
SUBDIRS += plugins/samplesource/filesource
|
||||
SUBDIRS += plugins/samplesource/hackrfinput
|
||||
SUBDIRS += plugins/samplesource/limesdrinput
|
||||
|
Loading…
Reference in New Issue
Block a user