From 788a2ceb33ad70903bb8910f647502cf2984b8d8 Mon Sep 17 00:00:00 2001 From: f4exb Date: Sun, 14 Jan 2018 22:26:35 +0100 Subject: [PATCH] Windows build for AirspyHF and TestSource --- .../samplesource/testsource/testsource.pro | 46 +++++++++++++++++++ sdrangel.windows.pro | 17 +++---- 2 files changed, 55 insertions(+), 8 deletions(-) create mode 100644 plugins/samplesource/testsource/testsource.pro diff --git a/plugins/samplesource/testsource/testsource.pro b/plugins/samplesource/testsource/testsource.pro new file mode 100644 index 000000000..547baba25 --- /dev/null +++ b/plugins/samplesource/testsource/testsource.pro @@ -0,0 +1,46 @@ +#-------------------------------------------------------- +# +# Pro file for Android and Windows builds with Qt Creator +# +#-------------------------------------------------------- + +TEMPLATE = lib +CONFIG += plugin + +QT += core gui widgets multimedia opengl + +TARGET = inputtestsource + +DEFINES += USE_SSE2=1 +QMAKE_CXXFLAGS += -msse2 +DEFINES += USE_SSE4_1=1 +QMAKE_CXXFLAGS += -msse4.1 +QMAKE_CXXFLAGS += -std=c++11 + +INCLUDEPATH += $$PWD +INCLUDEPATH += ../../../sdrbase +INCLUDEPATH += ../../../sdrgui +INCLUDEPATH += ../../../swagger/sdrangel/code/qt5/client + +CONFIG(Release):build_subdir = release +CONFIG(Debug):build_subdir = debug + +SOURCES += testsourcegui.cpp\ + testsourceinput.cpp\ + testsourceplugin.cpp\ + testsourcesettings.cpp\ + testsourcethread.cpp + +HEADERS += testsourcegui.h\ + testsourceinput.h\ + testsourceplugin.h\ + testsourcesettings.h\ + testsourcethread.h + +FORMS += testsourcegui.ui + +LIBS += -L../../../sdrbase/$${build_subdir} -lsdrbase +LIBS += -L../../../sdrgui/$${build_subdir} -lsdrgui +LIBS += -L../../../swagger/$${build_subdir} -lswagger + +RESOURCES = ../../../sdrgui/resources/res.qrc diff --git a/sdrangel.windows.pro b/sdrangel.windows.pro index 2d7a2daf7..c228d2ea2 100644 --- a/sdrangel.windows.pro +++ b/sdrangel.windows.pro @@ -17,27 +17,28 @@ SUBDIRS += sdrgui CONFIG(MINGW64)SUBDIRS += nanomsg SUBDIRS += fcdhid SUBDIRS += fcdlib -SUBDIRS += librtlsdr -SUBDIRS += libhackrf SUBDIRS += libairspy SUBDIRS += libairspyhf SUBDIRS += libbladerf -SUBDIRS += libsqlite3 -SUBDIRS += liblimesuite +SUBDIRS += libhackrf SUBDIRS += libiio +SUBDIRS += liblimesuite +SUBDIRS += librtlsdr +SUBDIRS += libsqlite3 SUBDIRS += devices SUBDIRS += mbelib SUBDIRS += dsdcc CONFIG(MINGW64)SUBDIRS += cm256cc -SUBDIRS += plugins/samplesource/filesource -CONFIG(MINGW64)SUBDIRS += plugins/samplesource/sdrdaemonsource -SUBDIRS += plugins/samplesource/rtlsdr -SUBDIRS += plugins/samplesource/hackrfinput SUBDIRS += plugins/samplesource/airspy SUBDIRS += plugins/samplesource/airspyhf SUBDIRS += plugins/samplesource/bladerfinput +SUBDIRS += plugins/samplesource/filesource +SUBDIRS += plugins/samplesource/hackrfinput SUBDIRS += plugins/samplesource/limesdrinput SUBDIRS += plugins/samplesource/plutosdrinput +CONFIG(MINGW64)SUBDIRS += plugins/samplesource/sdrdaemonsource +SUBDIRS += plugins/samplesource/rtlsdr +SUBDIRS += plugins/samplesource/testsource SUBDIRS += plugins/samplesink/filesink SUBDIRS += plugins/samplesink/bladerfoutput SUBDIRS += plugins/samplesink/hackrfoutput