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
|
|
|
|
2018-11-12 08:04:16 -05:00
|
|
|
CONFIG(MSVC):DEFINES += sdrbase_EXPORTS
|
|
|
|
|
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
|
|
|
|
2018-07-11 12:05:05 -04:00
|
|
|
CONFIG(MINGW32):INCLUDEPATH += "C:\softs\boost_1_66_0"
|
|
|
|
CONFIG(MINGW64):INCLUDEPATH += "C:\softs\boost_1_66_0"
|
2018-11-12 08:04:16 -05:00
|
|
|
CONFIG(MSVC):INCLUDEPATH += "C:\softs\boost_1_66_0"
|
2019-02-18 07:19:47 -05:00
|
|
|
CONFIG(MSVC):INCLUDEPATH += "C:\softs\libopus_v1.3_msvc15\include"
|
2016-03-08 00:51:56 -05:00
|
|
|
|
2018-07-11 12:05:05 -04:00
|
|
|
CONFIG(MINGW32):INCLUDEPATH += "C:\softs\serialDV"
|
|
|
|
CONFIG(MINGW64):INCLUDEPATH += "C:\softs\serialDV"
|
2018-11-12 11:22:19 -05:00
|
|
|
CONFIG(MSVC):INCLUDEPATH += "C:\softs\serialDV"
|
2016-05-09 11:48:34 -04:00
|
|
|
|
2018-12-27 03:48:30 -05:00
|
|
|
CONFIG(macx):INCLUDEPATH += "../../../boost_1_69_0"
|
2019-03-14 07:13:20 -04:00
|
|
|
CONFIG(macx):INCLUDEPATH += "/opt/local/include"
|
2017-05-15 06:32:16 -04:00
|
|
|
|
2018-11-12 11:22:19 -05:00
|
|
|
MINGW32 || MINGW64 || MSVC {
|
2017-05-15 06:32:16 -04:00
|
|
|
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\
|
2018-07-11 12:05:05 -04:00
|
|
|
audio/audiocompressor.cpp\
|
2016-03-08 00:51:56 -05:00
|
|
|
audio/audiofifo.cpp\
|
2019-02-14 08:27:06 -05:00
|
|
|
audio/audiofilter.cpp\
|
2019-02-16 05:06:34 -05:00
|
|
|
audio/audiog722.cpp\
|
2019-02-18 07:19:47 -05:00
|
|
|
audio/audioopus.cpp\
|
2016-03-08 00:51:56 -05:00
|
|
|
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\
|
2019-02-24 14:59:09 -05:00
|
|
|
audio/audioresampler.cpp\
|
2017-11-18 21:38:07 -05:00
|
|
|
channel/channelsinkapi.cpp\
|
|
|
|
channel/channelsourceapi.cpp\
|
2019-02-02 19:52:11 -05:00
|
|
|
channel/remotedataqueue.cpp\
|
|
|
|
channel/remotedatareadqueue.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\
|
2018-11-13 07:19:54 -05:00
|
|
|
util/timeutil.cpp\
|
2017-11-02 07:28:41 -04:00
|
|
|
plugin/plugininterface.cpp\
|
2018-09-11 07:41:09 -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\
|
2018-07-11 12:05:05 -04:00
|
|
|
audio/audiocompressor.h\
|
2016-03-08 00:51:56 -05:00
|
|
|
audio/audiofifo.h\
|
2019-02-14 08:27:06 -05:00
|
|
|
audio/audiofilter.h\
|
2019-02-19 05:53:26 -05:00
|
|
|
audio/audiog722.h\
|
2019-02-18 07:19:47 -05:00
|
|
|
audio/audioopus.h\
|
2016-03-08 00:51:56 -05:00
|
|
|
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\
|
2019-02-24 14:59:09 -05:00
|
|
|
audio/audioresampler.h\
|
2017-11-18 21:38:07 -05:00
|
|
|
channel/channelsinkapi.h\
|
2018-09-11 07:41:09 -04:00
|
|
|
channel/channelsourceapi.h\
|
2019-02-02 19:52:11 -05:00
|
|
|
channel/remotedataqueue.h\
|
|
|
|
channel/remotedatareadqueue.h\
|
|
|
|
channel/remotedatablock.h\
|
2018-09-11 07:41:09 -04:00
|
|
|
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\
|
2018-09-11 07:41:09 -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\
|
2018-11-13 07:19:54 -05:00
|
|
|
util/timeutil.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
|
|
|
|
2019-02-18 07:19:47 -05:00
|
|
|
MSVC {
|
2019-02-19 05:53:26 -05:00
|
|
|
LIBS += -LC:\softs\libopus_v1.3_msvc15\bin\x64 -LC:\softs\libopus_v1.3_msvc15\lib\x64 -lopus
|
2019-02-18 07:19:47 -05:00
|
|
|
}
|
2018-11-12 11:22:19 -05:00
|
|
|
MINGW32 || MINGW64 || MSVC {
|
2018-11-12 10:58:20 -05:00
|
|
|
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-12-27 03:48:30 -05:00
|
|
|
macx {
|
2019-03-14 07:13:20 -04:00
|
|
|
LIBS += -L/opt/local/lib -lopus
|
2018-12-27 03:48:30 -05:00
|
|
|
QMAKE_LFLAGS_SONAME = -Wl,-install_name,@rpath/
|
|
|
|
}
|
|
|
|
|
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 =
|