kopia lustrzana https://github.com/f4exb/sdrangel
DSD demod: serialDV library support in Windows. Updates in sdrbase
rodzic
7fe5716e90
commit
84479fdbcc
|
@ -23,10 +23,13 @@
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
#include <libgen.h>
|
||||||
|
|
||||||
|
#ifndef __WINDOWS__
|
||||||
#include <termios.h>
|
#include <termios.h>
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
#include <linux/serial.h>
|
#include <linux/serial.h>
|
||||||
#include <libgen.h>
|
#endif
|
||||||
|
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QThread>
|
#include <QThread>
|
||||||
|
|
|
@ -12,11 +12,19 @@ TARGET = sdrbase
|
||||||
INCLUDEPATH += $$PWD
|
INCLUDEPATH += $$PWD
|
||||||
|
|
||||||
DEFINES += USE_KISSFFT=1
|
DEFINES += USE_KISSFFT=1
|
||||||
|
DEFINES += __WINDOWS__=1
|
||||||
|
|
||||||
|
CONFIG(Release):build_subdir = release
|
||||||
|
CONFIG(Debug):build_subdir = debug
|
||||||
|
|
||||||
CONFIG(ANDROID):INCLUDEPATH += /opt/softs/boost_1_60_0
|
CONFIG(ANDROID):INCLUDEPATH += /opt/softs/boost_1_60_0
|
||||||
|
|
||||||
CONFIG(MINGW32):INCLUDEPATH += "D:\boost_1_58_0"
|
CONFIG(MINGW32):INCLUDEPATH += "D:\boost_1_58_0"
|
||||||
CONFIG(MINGW64):INCLUDEPATH += "D:\boost_1_58_0"
|
CONFIG(MINGW64):INCLUDEPATH += "D:\boost_1_58_0"
|
||||||
|
|
||||||
|
CONFIG(MINGW32):INCLUDEPATH += "D:\softs\serialDV"
|
||||||
|
CONFIG(MINGW64):INCLUDEPATH += "D:\softs\serialDV"
|
||||||
|
|
||||||
SOURCES += mainwindow.cpp\
|
SOURCES += mainwindow.cpp\
|
||||||
audio/audiodeviceinfo.cpp\
|
audio/audiodeviceinfo.cpp\
|
||||||
audio/audiofifo.cpp\
|
audio/audiofifo.cpp\
|
||||||
|
@ -29,6 +37,8 @@ SOURCES += mainwindow.cpp\
|
||||||
dsp/dspcommands.cpp\
|
dsp/dspcommands.cpp\
|
||||||
dsp/dspengine.cpp\
|
dsp/dspengine.cpp\
|
||||||
dsp/dspdeviceengine.cpp\
|
dsp/dspdeviceengine.cpp\
|
||||||
|
dsp/dvserialengine.cpp\
|
||||||
|
dsp/dvserialworker.cpp\
|
||||||
dsp/fftengine.cpp\
|
dsp/fftengine.cpp\
|
||||||
dsp/kissengine.cpp\
|
dsp/kissengine.cpp\
|
||||||
dsp/fftfilt.cxx\
|
dsp/fftfilt.cxx\
|
||||||
|
@ -97,6 +107,8 @@ HEADERS += mainwindow.h\
|
||||||
dsp/dspcommands.h\
|
dsp/dspcommands.h\
|
||||||
dsp/dspengine.h\
|
dsp/dspengine.h\
|
||||||
dsp/dspdeviceengine.h\
|
dsp/dspdeviceengine.h\
|
||||||
|
dsp/dvserialengine.h\
|
||||||
|
dsp/dvserialworker.h\
|
||||||
dsp/dsptypes.h\
|
dsp/dsptypes.h\
|
||||||
dsp/fftengine.h\
|
dsp/fftengine.h\
|
||||||
dsp/fftfilt.h\
|
dsp/fftfilt.h\
|
||||||
|
@ -174,5 +186,7 @@ FORMS += mainwindow.ui\
|
||||||
|
|
||||||
RESOURCES = resources/res.qrc
|
RESOURCES = resources/res.qrc
|
||||||
|
|
||||||
|
LIBS += -L../serialdv/$${build_subdir} -lserialdv
|
||||||
|
|
||||||
CONFIG(ANDROID):CONFIG += mobility
|
CONFIG(ANDROID):CONFIG += mobility
|
||||||
CONFIG(ANDROID):MOBILITY =
|
CONFIG(ANDROID):MOBILITY =
|
||||||
|
|
Ładowanie…
Reference in New Issue