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