From 8c32ed4a12a7996fa5003e60e1d17a4b85a5f805 Mon Sep 17 00:00:00 2001 From: f4exb Date: Mon, 9 Jan 2017 02:54:09 +0100 Subject: [PATCH] Windows build: added BladeRF and HackRF output plugins. Added missing .pro files --- .../bladerfoutput/bladerfoutput.pro | 47 +++++++++++++++++++ .../samplesink/hackrfoutput/hackrfoutput.pro | 47 +++++++++++++++++++ 2 files changed, 94 insertions(+) create mode 100644 plugins/samplesink/bladerfoutput/bladerfoutput.pro create mode 100644 plugins/samplesink/hackrfoutput/hackrfoutput.pro diff --git a/plugins/samplesink/bladerfoutput/bladerfoutput.pro b/plugins/samplesink/bladerfoutput/bladerfoutput.pro new file mode 100644 index 000000000..eb152df08 --- /dev/null +++ b/plugins/samplesink/bladerfoutput/bladerfoutput.pro @@ -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 diff --git a/plugins/samplesink/hackrfoutput/hackrfoutput.pro b/plugins/samplesink/hackrfoutput/hackrfoutput.pro new file mode 100644 index 000000000..e9f21d973 --- /dev/null +++ b/plugins/samplesink/hackrfoutput/hackrfoutput.pro @@ -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