2016-03-08 00:51:56 -05:00
|
|
|
#--------------------------------------------------------
|
|
|
|
#
|
|
|
|
# Pro file for Android and Windows builds with Qt Creator
|
|
|
|
#
|
|
|
|
#--------------------------------------------------------
|
|
|
|
|
2017-11-17 12:40:18 -05:00
|
|
|
QT += core multimedia
|
2016-03-08 00:51:56 -05:00
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
|
|
|
|
|
|
TEMPLATE = lib
|
|
|
|
TARGET = sdrbase
|
|
|
|
INCLUDEPATH += $$PWD
|
2017-11-17 12:40:18 -05:00
|
|
|
INCLUDEPATH += ../httpserver
|
|
|
|
INCLUDEPATH += ../swagger/sdrangel/code/qt5/client
|
2016-03-08 00:51:56 -05:00
|
|
|
|
|
|
|
DEFINES += USE_KISSFFT=1
|
2017-05-15 06:32:16 -04:00
|
|
|
win32 {
|
|
|
|
DEFINES += __WINDOWS__=1
|
|
|
|
DEFINES += DSD_USE_SERIALDV=1
|
|
|
|
}
|
2016-11-06 18:42:57 -05:00
|
|
|
DEFINES += USE_SSE2=1
|
|
|
|
QMAKE_CXXFLAGS += -msse2
|
2016-11-07 02:44:55 -05:00
|
|
|
DEFINES += USE_SSE4_1=1
|
|
|
|
QMAKE_CXXFLAGS += -msse4.1
|
2016-05-09 11:48:34 -04:00
|
|
|
|
2017-09-15 12:48:30 -04:00
|
|
|
QMAKE_CXXFLAGS += -std=c++11
|
|
|
|
|
2016-05-09 11:48:34 -04:00
|
|
|
CONFIG(Release):build_subdir = release
|
|
|
|
CONFIG(Debug):build_subdir = debug
|
2016-03-08 00:51:56 -05:00
|
|
|
|
2016-03-21 20:24:38 -04:00
|
|
|
CONFIG(ANDROID):INCLUDEPATH += /opt/softs/boost_1_60_0
|
2016-05-09 11:48:34 -04:00
|
|
|
|
2016-03-09 00:49:49 -05:00
|
|
|
CONFIG(MINGW32):INCLUDEPATH += "D:\boost_1_58_0"
|
2016-03-27 12:56:33 -04:00
|
|
|
CONFIG(MINGW64):INCLUDEPATH += "D:\boost_1_58_0"
|
2016-03-08 00:51:56 -05:00
|
|
|
|
2016-05-09 11:48:34 -04:00
|
|
|
CONFIG(MINGW32):INCLUDEPATH += "D:\softs\serialDV"
|
|
|
|
CONFIG(MINGW64):INCLUDEPATH += "D:\softs\serialDV"
|
|
|
|
|
2017-05-15 06:32:16 -04:00
|
|
|
CONFIG(macx):INCLUDEPATH += "../../../boost_1_64_0"
|
|
|
|
|
|
|
|
win32 {
|
|
|
|
HEADERS += \
|
|
|
|
dsp/dvserialengine.h \
|
|
|
|
dsp/dvserialworker.h
|
|
|
|
SOURCES += \
|
|
|
|
dsp/dvserialengine.cpp \
|
|
|
|
dsp/dvserialworker.cpp
|
|
|
|
}
|
|
|
|
|
2017-10-22 13:31:11 -04:00
|
|
|
SOURCES += audio/audiodeviceinfo.cpp\
|
2016-03-08 00:51:56 -05:00
|
|
|
audio/audiofifo.cpp\
|
|
|
|
audio/audiooutput.cpp\
|
2016-11-28 12:32:50 -05:00
|
|
|
audio/audioinput.cpp\
|
2017-11-18 21:38:07 -05:00
|
|
|
channel/channelsinkapi.cpp\
|
|
|
|
channel/channelsourceapi.cpp\
|
2017-10-31 19:34:35 -04:00
|
|
|
device/devicesourceapi.cpp\
|
2017-11-01 08:03:12 -04:00
|
|
|
device/devicesinkapi.cpp\
|
|
|
|
device/deviceenumerator.cpp\
|
2016-03-08 00:51:56 -05:00
|
|
|
dsp/afsquelch.cpp\
|
|
|
|
dsp/agc.cpp\
|
2016-10-02 15:52:39 -04:00
|
|
|
dsp/downchannelizer.cpp\
|
2016-10-17 02:58:49 -04:00
|
|
|
dsp/upchannelizer.cpp\
|
2016-03-08 00:51:56 -05:00
|
|
|
dsp/channelmarker.cpp\
|
|
|
|
dsp/ctcssdetector.cpp\
|
2016-12-11 19:16:36 -05:00
|
|
|
dsp/cwkeyer.cpp\
|
2016-03-08 00:51:56 -05:00
|
|
|
dsp/dspcommands.cpp\
|
|
|
|
dsp/dspengine.cpp\
|
2016-10-03 12:29:05 -04:00
|
|
|
dsp/dspdevicesourceengine.cpp\
|
2016-10-17 12:15:08 -04:00
|
|
|
dsp/dspdevicesinkengine.cpp\
|
2016-03-08 00:51:56 -05:00
|
|
|
dsp/fftengine.cpp\
|
|
|
|
dsp/kissengine.cpp\
|
|
|
|
dsp/fftfilt.cxx\
|
|
|
|
dsp/fftwindow.cpp\
|
|
|
|
dsp/filterrc.cpp\
|
2016-09-12 00:02:13 -04:00
|
|
|
dsp/filtermbe.cpp\
|
2016-10-02 04:30:58 -04:00
|
|
|
dsp/filerecord.cpp\
|
2016-03-08 00:51:56 -05:00
|
|
|
dsp/interpolator.cpp\
|
2016-11-01 21:58:31 -04:00
|
|
|
dsp/hbfiltertraits.cpp\
|
2016-03-08 00:51:56 -05:00
|
|
|
dsp/lowpass.cpp\
|
|
|
|
dsp/nco.cpp\
|
2016-12-18 20:41:31 -05:00
|
|
|
dsp/ncof.cpp\
|
2016-03-08 00:51:56 -05:00
|
|
|
dsp/pidcontroller.cpp\
|
|
|
|
dsp/phaselock.cpp\
|
2017-03-19 15:18:44 -04:00
|
|
|
dsp/recursivefilters.cpp\
|
2016-10-06 13:18:02 -04:00
|
|
|
dsp/samplesinkfifo.cpp\
|
2016-10-09 19:13:12 -04:00
|
|
|
dsp/samplesourcefifo.cpp\
|
2016-10-06 09:39:18 -04:00
|
|
|
dsp/samplesinkfifodoublebuffered.cpp\
|
2016-10-02 16:29:04 -04:00
|
|
|
dsp/basebandsamplesink.cpp\
|
2016-10-14 12:47:19 -04:00
|
|
|
dsp/basebandsamplesource.cpp\
|
2016-03-08 00:51:56 -05:00
|
|
|
dsp/nullsink.cpp\
|
2016-10-03 09:55:16 -04:00
|
|
|
dsp/threadedbasebandsamplesink.cpp\
|
2016-10-17 02:58:49 -04:00
|
|
|
dsp/threadedbasebandsamplesource.cpp\
|
2017-09-03 19:44:36 -04:00
|
|
|
dsp/wfir.cpp\
|
2016-10-02 17:16:40 -04:00
|
|
|
dsp/devicesamplesource.cpp\
|
2016-10-14 12:47:19 -04:00
|
|
|
dsp/devicesamplesink.cpp\
|
2016-03-08 00:51:56 -05:00
|
|
|
settings/preferences.cpp\
|
|
|
|
settings/preset.cpp\
|
|
|
|
settings/mainsettings.cpp\
|
|
|
|
util/CRC64.cpp\
|
|
|
|
util/db.cpp\
|
|
|
|
util/message.cpp\
|
|
|
|
util/messagequeue.cpp\
|
|
|
|
util/prettyprint.cpp\
|
|
|
|
util/syncmessenger.cpp\
|
|
|
|
util/samplesourceserializer.cpp\
|
2017-10-31 19:34:35 -04:00
|
|
|
util/simpleserializer.cpp\
|
2017-11-19 05:36:20 -05:00
|
|
|
util/uid.cpp\
|
2017-11-02 07:28:41 -04:00
|
|
|
plugin/plugininterface.cpp\
|
2017-11-02 05:42:54 -04:00
|
|
|
plugin/pluginapi.cpp\
|
2017-11-17 12:40:18 -05:00
|
|
|
plugin/pluginmanager.cpp\
|
2017-11-18 13:34:47 -05:00
|
|
|
webapi/webapiadapterinterface.cpp\
|
2017-11-17 12:40:18 -05:00
|
|
|
webapi/webapirequestmapper.cpp\
|
2017-11-17 23:06:43 -05:00
|
|
|
webapi/webapiserver.cpp\
|
|
|
|
mainparser.cpp
|
2016-03-08 00:51:56 -05:00
|
|
|
|
2017-10-22 13:31:11 -04:00
|
|
|
HEADERS += audio/audiodeviceinfo.h\
|
2016-03-08 00:51:56 -05:00
|
|
|
audio/audiofifo.h\
|
|
|
|
audio/audiooutput.h\
|
2016-11-28 12:32:50 -05:00
|
|
|
audio/audioinput.h\
|
2017-11-18 21:38:07 -05:00
|
|
|
channel/channelsinkapi.h\
|
|
|
|
channel/channelsourceapi.h\
|
2016-10-10 19:17:55 -04:00
|
|
|
device/devicesourceapi.h\
|
2016-10-17 18:03:51 -04:00
|
|
|
device/devicesinkapi.h\
|
2017-11-01 08:03:12 -04:00
|
|
|
device/deviceenumerator.h\
|
2016-03-08 00:51:56 -05:00
|
|
|
dsp/afsquelch.h\
|
2016-10-02 15:52:39 -04:00
|
|
|
dsp/downchannelizer.h\
|
2016-10-17 02:58:49 -04:00
|
|
|
dsp/upchannelizer.h\
|
2016-03-08 00:51:56 -05:00
|
|
|
dsp/channelmarker.h\
|
2016-12-11 19:16:36 -05:00
|
|
|
dsp/cwkeyer.h\
|
2016-03-08 00:51:56 -05:00
|
|
|
dsp/complex.h\
|
|
|
|
dsp/decimators.h\
|
2017-01-01 21:14:46 -05:00
|
|
|
dsp/interpolators.h\
|
2016-03-08 00:51:56 -05:00
|
|
|
dsp/dspcommands.h\
|
|
|
|
dsp/dspengine.h\
|
2016-10-03 12:29:05 -04:00
|
|
|
dsp/dspdevicesourceengine.h\
|
2016-10-17 12:15:08 -04:00
|
|
|
dsp/dspdevicesinkengine.h\
|
2016-03-08 00:51:56 -05:00
|
|
|
dsp/dsptypes.h\
|
|
|
|
dsp/fftengine.h\
|
|
|
|
dsp/fftfilt.h\
|
|
|
|
dsp/fftwengine.h\
|
|
|
|
dsp/fftwindow.h\
|
|
|
|
dsp/filterrc.h\
|
2016-09-12 00:02:13 -04:00
|
|
|
dsp/filtermbe.h\
|
2016-10-02 04:30:58 -04:00
|
|
|
dsp/filerecord.h\
|
2016-03-08 00:51:56 -05:00
|
|
|
dsp/gfft.h\
|
2016-11-01 21:58:31 -04:00
|
|
|
dsp/hbfiltertraits.h\
|
2016-03-08 00:51:56 -05:00
|
|
|
dsp/interpolator.h\
|
|
|
|
dsp/inthalfbandfilter.h\
|
2016-11-01 21:58:31 -04:00
|
|
|
dsp/inthalfbandfilterdb.h\
|
2016-11-07 02:26:34 -05:00
|
|
|
dsp/inthalfbandfiltereo1.h\
|
|
|
|
dsp/inthalfbandfiltereo1i.h\
|
2016-11-08 11:29:46 -05:00
|
|
|
dsp/inthalfbandfilterst.h\
|
|
|
|
dsp/inthalfbandfiltersti.h\
|
2016-03-08 00:51:56 -05:00
|
|
|
dsp/kissfft.h\
|
|
|
|
dsp/kissengine.h\
|
|
|
|
dsp/lowpass.h\
|
|
|
|
dsp/misc.h\
|
|
|
|
dsp/movingaverage.h\
|
|
|
|
dsp/nco.h\
|
2016-12-18 20:41:31 -05:00
|
|
|
dsp/ncof.h\
|
2016-03-08 00:51:56 -05:00
|
|
|
dsp/phasediscri.h\
|
|
|
|
dsp/phaselock.h\
|
|
|
|
dsp/pidcontroller.h\
|
2017-03-19 15:18:44 -04:00
|
|
|
dsp/recursivefilters.h\
|
2016-10-06 13:18:02 -04:00
|
|
|
dsp/samplesinkfifo.h\
|
2016-10-09 19:13:12 -04:00
|
|
|
dsp/samplesourcefifo.h\
|
2016-10-06 09:39:18 -04:00
|
|
|
dsp/samplesinkfifodoublebuffered.h\
|
|
|
|
dsp/samplesinkfifodecimator.h\
|
2016-10-02 16:29:04 -04:00
|
|
|
dsp/basebandsamplesink.h\
|
2016-10-14 12:47:19 -04:00
|
|
|
dsp/basebandsamplesource.h\
|
2016-03-08 00:51:56 -05:00
|
|
|
dsp/nullsink.h\
|
2016-10-03 09:55:16 -04:00
|
|
|
dsp/threadedbasebandsamplesink.h\
|
2016-10-17 02:58:49 -04:00
|
|
|
dsp/threadedbasebandsamplesource.h\
|
2017-09-03 19:44:36 -04:00
|
|
|
dsp/wfir.h\
|
2016-10-02 17:16:40 -04:00
|
|
|
dsp/devicesamplesource.h\
|
2016-10-14 12:47:19 -04:00
|
|
|
dsp/devicesamplesink.h\
|
2017-09-26 10:49:17 -04:00
|
|
|
plugin/plugininstancegui.h\
|
2017-11-02 05:42:54 -04:00
|
|
|
plugin/plugininterface.h\
|
|
|
|
plugin/pluginapi.h\
|
|
|
|
plugin/pluginmanager.h\
|
2016-03-08 00:51:56 -05:00
|
|
|
settings/preferences.h\
|
|
|
|
settings/preset.h\
|
|
|
|
settings/mainsettings.h\
|
|
|
|
util/CRC64.h\
|
|
|
|
util/db.h\
|
|
|
|
util/export.h\
|
|
|
|
util/message.h\
|
|
|
|
util/messagequeue.h\
|
|
|
|
util/prettyprint.h\
|
|
|
|
util/syncmessenger.h\
|
|
|
|
util/samplesourceserializer.h\
|
2017-11-17 12:40:18 -05:00
|
|
|
util/simpleserializer.h\
|
2017-11-19 05:36:20 -05:00
|
|
|
util/uid.h\
|
2017-11-17 12:40:18 -05:00
|
|
|
webapi/webapiadapterinterface.h\
|
|
|
|
webapi/webapirequestmapper.h\
|
2017-11-17 23:06:43 -05:00
|
|
|
webapi/webapiserver.h\
|
|
|
|
mainparser.h
|
2016-03-08 00:51:56 -05:00
|
|
|
|
2017-05-15 06:32:16 -04:00
|
|
|
!macx:LIBS += -L../serialdv/$${build_subdir} -lserialdv
|
2017-11-17 12:40:18 -05:00
|
|
|
LIBS += -L../httpserver/$${build_subdir} -lhttpserver
|
2017-11-19 18:10:01 -05:00
|
|
|
LIBS += -L../swagger/$${build_subdir} -lswagger
|
2016-05-09 11:48:34 -04:00
|
|
|
|
2017-11-20 12:38:26 -05:00
|
|
|
RESOURCES = resources/res.qrc
|
|
|
|
|
2016-03-08 00:51:56 -05:00
|
|
|
CONFIG(ANDROID):CONFIG += mobility
|
|
|
|
CONFIG(ANDROID):MOBILITY =
|