mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-09-04 06:07:49 -04:00
Windows build: added BladeRF and HackRF output plugins. Added missing .pro files
This commit is contained in:
parent
4a1f87133b
commit
8c32ed4a12
47
plugins/samplesink/bladerfoutput/bladerfoutput.pro
Normal file
47
plugins/samplesink/bladerfoutput/bladerfoutput.pro
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
#--------------------------------------------
|
||||||
|
#
|
||||||
|
# Pro file for Windows builds with Qt Creator
|
||||||
|
#
|
||||||
|
#--------------------------------------------
|
||||||
|
|
||||||
|
TEMPLATE = lib
|
||||||
|
CONFIG += plugin
|
||||||
|
|
||||||
|
QT += core gui widgets multimedia opengl
|
||||||
|
|
||||||
|
TARGET = outputbladerf
|
||||||
|
|
||||||
|
DEFINES += USE_SSE2=1
|
||||||
|
QMAKE_CXXFLAGS += -msse2
|
||||||
|
DEFINES += USE_SSE4_1=1
|
||||||
|
QMAKE_CXXFLAGS += -msse4.1
|
||||||
|
|
||||||
|
CONFIG(MINGW32):LIBBLADERFSRC = "D:\softs\bladeRF\host\libraries\libbladeRF\include"
|
||||||
|
CONFIG(MINGW64):LIBBLADERFSRC = "D:\softs\bladeRF\host\libraries\libbladeRF\include"
|
||||||
|
INCLUDEPATH += $$PWD
|
||||||
|
INCLUDEPATH += ../../../sdrbase
|
||||||
|
INCLUDEPATH += ../../../devices
|
||||||
|
INCLUDEPATH += $$LIBBLADERFSRC
|
||||||
|
|
||||||
|
CONFIG(Release):build_subdir = release
|
||||||
|
CONFIG(Debug):build_subdir = debug
|
||||||
|
|
||||||
|
SOURCES += bladerfoutputgui.cpp\
|
||||||
|
bladerfoutput.cpp\
|
||||||
|
bladerfoutputplugin.cpp\
|
||||||
|
bladerfoutputsettings.cpp\
|
||||||
|
bladerfoutputthread.cpp
|
||||||
|
|
||||||
|
HEADERS += bladerfoutputgui.h\
|
||||||
|
bladerfoutput.h\
|
||||||
|
bladerfoutputplugin.h\
|
||||||
|
bladerfoutputsettings.h\
|
||||||
|
bladerfoutputthread.h
|
||||||
|
|
||||||
|
FORMS += bladerfoutputgui.ui
|
||||||
|
|
||||||
|
LIBS += -L../../../sdrbase/$${build_subdir} -lsdrbase
|
||||||
|
LIBS += -L../../../libbladerf/$${build_subdir} -llibbladerf
|
||||||
|
LIBS += -L../../../devices/$${build_subdir} -ldevices
|
||||||
|
|
||||||
|
RESOURCES = ../../../sdrbase/resources/res.qrc
|
47
plugins/samplesink/hackrfoutput/hackrfoutput.pro
Normal file
47
plugins/samplesink/hackrfoutput/hackrfoutput.pro
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
#--------------------------------------------
|
||||||
|
#
|
||||||
|
# Pro file for Windows builds with Qt Creator
|
||||||
|
#
|
||||||
|
#--------------------------------------------
|
||||||
|
|
||||||
|
TEMPLATE = lib
|
||||||
|
CONFIG += plugin
|
||||||
|
|
||||||
|
QT += core gui widgets multimedia opengl
|
||||||
|
|
||||||
|
TARGET = outputhackrf
|
||||||
|
|
||||||
|
DEFINES += USE_SSE2=1
|
||||||
|
QMAKE_CXXFLAGS += -msse2
|
||||||
|
DEFINES += USE_SSE4_1=1
|
||||||
|
QMAKE_CXXFLAGS += -msse4.1
|
||||||
|
|
||||||
|
CONFIG(MINGW32):LIBHACKRFSRC = "D:\softs\hackrf\host"
|
||||||
|
CONFIG(MINGW64):LIBHACKRFSRC = "D:\softs\hackrf\host"
|
||||||
|
INCLUDEPATH += $$PWD
|
||||||
|
INCLUDEPATH += ../../../sdrbase
|
||||||
|
INCLUDEPATH += ../../../devices
|
||||||
|
INCLUDEPATH += $$LIBHACKRFSRC
|
||||||
|
|
||||||
|
CONFIG(Release):build_subdir = release
|
||||||
|
CONFIG(Debug):build_subdir = debug
|
||||||
|
|
||||||
|
SOURCES += hackrfoutputgui.cpp\
|
||||||
|
hackrfoutput.cpp\
|
||||||
|
hackrfoutputplugin.cpp\
|
||||||
|
hackrfoutputsettings.cpp\
|
||||||
|
hackrfoutputthread.cpp
|
||||||
|
|
||||||
|
HEADERS += hackrfoutputgui.h\
|
||||||
|
hackrfoutput.h\
|
||||||
|
hackrfoutputplugin.h\
|
||||||
|
hackrfoutputsettings.h\
|
||||||
|
hackrfoutputthread.h
|
||||||
|
|
||||||
|
FORMS += hackrfoutputgui.ui
|
||||||
|
|
||||||
|
LIBS += -L../../../sdrbase/$${build_subdir} -lsdrbase
|
||||||
|
LIBS += -L../../../libhackrf/$${build_subdir} -llibhackrf
|
||||||
|
LIBS += -L../../../devices/$${build_subdir} -ldevices
|
||||||
|
|
||||||
|
RESOURCES = ../../../sdrbase/resources/res.qrc
|
Loading…
x
Reference in New Issue
Block a user