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
|
2018-03-10 14:32:46 -05:00
|
|
|
INCLUDEPATH += ../exports
|
2017-11-17 12:40:18 -05:00
|
|
|
INCLUDEPATH += ../httpserver
|
2018-03-08 11:08:36 -05:00
|
|
|
INCLUDEPATH += ../qrtplib
|
2017-11-17 12:40:18 -05:00
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2018-03-23 13:10:01 -04:00
|
|
|
SOURCES += audio/audiodevicemanager.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\
|
2018-02-08 14:30:58 -05:00
|
|
|
audio/audionetsink.cpp\
|
2017-11-18 21:38:07 -05:00
|
|
|
channel/channelsinkapi.cpp\
|
|
|
|
channel/channelsourceapi.cpp\
|
2018-01-04 05:11:53 -05:00
|
|
|
commands/command.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\
|
2017-12-10 14:27:08 -05:00
|
|
|
dsp/cwkeyersettings.cpp\
|
2018-05-05 11:21:11 -04:00
|
|
|
dsp/decimatorsfi.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\
|
2018-05-21 18:14:37 -04:00
|
|
|
dsp/fftcorr.cpp\
|
2018-05-21 21:03:12 -04:00
|
|
|
dsp/fftfilt.cpp\
|
2016-03-08 00:51:56 -05:00
|
|
|
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\
|
2018-05-21 18:14:37 -04:00
|
|
|
dsp/freqlockcomplex.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/phaselock.cpp\
|
2018-05-21 18:14:37 -04:00
|
|
|
dsp/phaselockcomplex.cpp\
|
2018-04-15 14:56:46 -04:00
|
|
|
dsp/projector.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\
|
2018-03-08 11:08:36 -05:00
|
|
|
util/rtpsink.cpp\
|
2016-03-08 00:51:56 -05:00
|
|
|
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
|
|
|
|
2018-03-23 13:10:01 -04:00
|
|
|
HEADERS += audio/audiodevicemanager.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\
|
2018-02-08 14:30:58 -05:00
|
|
|
audio/audionetsink.h\
|
2017-11-18 21:38:07 -05:00
|
|
|
channel/channelsinkapi.h\
|
2018-01-04 05:11:53 -05:00
|
|
|
channel/channelsourceapi.h\
|
|
|
|
commands/command.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\
|
2018-05-05 11:21:11 -04:00
|
|
|
dsp/decimatorsfi.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\
|
2017-12-10 14:27:08 -05:00
|
|
|
dsp/cwkeyersettings.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\
|
2018-05-21 18:14:37 -04:00
|
|
|
dsp/fftcorr.h\
|
2016-03-08 00:51:56 -05:00
|
|
|
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\
|
2018-05-21 18:14:37 -04:00
|
|
|
dsp/freqlockcomplex.h\
|
2016-03-08 00:51:56 -05:00
|
|
|
dsp/gfft.h\
|
2016-11-01 21:58:31 -04:00
|
|
|
dsp/hbfiltertraits.h\
|
2017-12-26 04:59:51 -05:00
|
|
|
dsp/iirfilter.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\
|
2018-05-21 18:14:37 -04:00
|
|
|
dsp/phaselockcomplex.h\
|
2018-04-15 14:56:46 -04:00
|
|
|
dsp/projector.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/message.h\
|
|
|
|
util/messagequeue.h\
|
|
|
|
util/prettyprint.h\
|
2018-03-08 11:08:36 -05:00
|
|
|
util/rtpsink.h\
|
2016-03-08 00:51:56 -05:00
|
|
|
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
|
2018-03-08 11:08:36 -05:00
|
|
|
LIBS += -L../qrtplib/$${build_subdir} -lqrtplib
|
2017-11-19 18:10:01 -05:00
|
|
|
LIBS += -L../swagger/$${build_subdir} -lswagger
|
2016-05-09 11:48:34 -04:00
|
|
|
|
2018-02-18 17:09:30 -05:00
|
|
|
RCC_BINARY_SOURCES += resources/res.qrc
|
|
|
|
|
|
|
|
asset_builder.commands = $$[QT_HOST_BINS]/rcc -binary ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT} -no-compress
|
|
|
|
asset_builder.depend_command = $$[QT_HOST_BINS]/rcc -list $$QMAKE_RESOURCE_FLAGS ${QMAKE_FILE_IN}
|
|
|
|
asset_builder.input = RCC_BINARY_SOURCES
|
|
|
|
asset_builder.output = $$OUT_PWD/$$DESTDIR/${QMAKE_FILE_IN_BASE}.qrb
|
|
|
|
asset_builder.CONFIG += no_link target_predeps
|
|
|
|
QMAKE_EXTRA_COMPILERS += asset_builder
|
|
|
|
|
|
|
|
OTHER_FILES += $$RCC_BINARY_SOURCES
|
2017-11-20 12:38:26 -05:00
|
|
|
|
2016-03-08 00:51:56 -05:00
|
|
|
CONFIG(ANDROID):CONFIG += mobility
|
|
|
|
CONFIG(ANDROID):MOBILITY =
|