1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 17:58:43 -05:00

Windows build: added BladeRF and HackRF output plugins. Added missing .pro files

This commit is contained in:
f4exb 2017-01-09 02:54:09 +01:00
parent 4a1f87133b
commit 8c32ed4a12
2 changed files with 94 additions and 0 deletions

View 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

View 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