2017-10-22 10:01:04 +00:00
|
|
|
project (sdrbase)
|
|
|
|
|
2019-05-02 14:56:07 +00:00
|
|
|
if(WIN32)
|
2022-12-20 21:06:39 +00:00
|
|
|
# This should probably be in ../CMakeLists.txt with the other variables like it
|
2019-05-23 14:01:06 +00:00
|
|
|
set(OPUS_INCLUDE_DIRS "${CMAKE_SOURCE_DIR}/external/windows/libopus/include")
|
|
|
|
set(OPUS_LIBRARIES "${CMAKE_SOURCE_DIR}/external/windows/libopus/lib/x64/libopus.lib")
|
2019-05-02 14:56:07 +00:00
|
|
|
endif()
|
2019-05-01 09:54:58 +00:00
|
|
|
find_package(Opus REQUIRED)
|
|
|
|
|
|
|
|
if(FFTW3F_FOUND)
|
|
|
|
set(sdrbase_SOURCES
|
|
|
|
${sdrbase_SOURCES}
|
|
|
|
dsp/fftwengine.cpp
|
|
|
|
)
|
|
|
|
set(sdrbase_HEADERS
|
|
|
|
${sdrbase_HEADERS}
|
|
|
|
dsp/fftwengine.h
|
|
|
|
)
|
|
|
|
add_definitions(-DUSE_FFTW)
|
|
|
|
include_directories(${FFTW3F_INCLUDE_DIRS})
|
|
|
|
set(sdrbase_FFTW3F_LIB ${FFTW3F_LIBRARIES})
|
2023-08-13 22:52:57 +00:00
|
|
|
endif(FFTW3F_FOUND)
|
|
|
|
|
|
|
|
# Kiss FFT is always available
|
|
|
|
set(sdrbase_SOURCES
|
|
|
|
${sdrbase_SOURCES}
|
|
|
|
dsp/kissengine.cpp
|
|
|
|
dsp/kissfft.h
|
|
|
|
)
|
|
|
|
set(sdrbase_HEADERS
|
|
|
|
${sdrbase_HEADERS}
|
|
|
|
dsp/kissengine.h
|
|
|
|
)
|
|
|
|
add_definitions(-DUSE_KISSFFT)
|
|
|
|
|
|
|
|
# Vulkan SDK: https://vulkan.lunarg.com/
|
|
|
|
# Windows Vulkan SDK is missing glslang_c_interface.h
|
|
|
|
# See bug: https://vulkan.lunarg.com/issue/view/63d158a85df11200d569b2ab
|
|
|
|
# Copy it from Linux SDK
|
2023-08-14 09:37:27 +00:00
|
|
|
if (${VKFFT_BACKEND} EQUAL 0)
|
|
|
|
find_package(Vulkan)
|
|
|
|
if(Vulkan_FOUND)
|
|
|
|
set(sdrbase_SOURCES
|
|
|
|
${sdrbase_SOURCES}
|
|
|
|
dsp/vulkanvkfftengine.cpp
|
|
|
|
dsp/vulkanvkfftengine.h
|
|
|
|
)
|
|
|
|
endif()
|
2023-08-13 22:52:57 +00:00
|
|
|
endif()
|
|
|
|
|
|
|
|
# CUDA Toolkit: https://developer.nvidia.com/cuda-downloads
|
2023-08-14 09:37:27 +00:00
|
|
|
if (${VKFFT_BACKEND} EQUAL 1)
|
|
|
|
find_package(CUDA 9.0)
|
|
|
|
if(CUDA_FOUND)
|
|
|
|
enable_language(CUDA)
|
|
|
|
set(sdrbase_SOURCES
|
|
|
|
${sdrbase_SOURCES}
|
|
|
|
dsp/cudavkfftengine.cpp
|
|
|
|
dsp/cudavkfftengine.h
|
|
|
|
)
|
|
|
|
endif()
|
2023-08-14 11:55:14 +00:00
|
|
|
if(WIN32)
|
|
|
|
set(WINDOWS_FIXUP_BUNDLE_LIB_DIRS ${WINDOWS_FIXUP_BUNDLE_LIB_DIRS} ${CUDA_TOOLKIT_ROOT_DIR}/bin PARENT_SCOPE)
|
|
|
|
endif()
|
2023-08-13 22:52:57 +00:00
|
|
|
endif()
|
|
|
|
|
2023-08-14 09:37:27 +00:00
|
|
|
if((Vulkan_FOUND AND (${VKFFT_BACKEND} EQUAL 0)) OR (CUDA_FOUND AND (${VKFFT_BACKEND} EQUAL 1)))
|
2023-08-13 22:52:57 +00:00
|
|
|
set(sdrbase_SOURCES
|
|
|
|
${sdrbase_SOURCES}
|
|
|
|
dsp/vkfftengine.cpp
|
|
|
|
dsp/vkfftengine.h
|
|
|
|
dsp/vkfftutils.cpp
|
|
|
|
dsp/vkfftutils.h
|
|
|
|
)
|
|
|
|
include_directories(${VKFFT_INCLUDE_DIR})
|
|
|
|
endif()
|
2019-05-01 09:54:58 +00:00
|
|
|
|
2023-05-26 07:28:12 +00:00
|
|
|
if (LIBSIGMF_FOUND)
|
2020-11-10 01:09:21 +00:00
|
|
|
set(sdrbase_SOURCES
|
|
|
|
${sdrbase_SOURCES}
|
|
|
|
dsp/sigmffilerecord.cpp
|
|
|
|
)
|
|
|
|
set(sdrbase_HEADERS
|
|
|
|
${sdrbase_HEADERS}
|
2020-11-10 05:18:36 +00:00
|
|
|
dsp/sigmf_forward.h
|
2020-11-10 01:09:21 +00:00
|
|
|
dsp/sigmffilerecord.h
|
|
|
|
)
|
|
|
|
include_directories(${LIBSIGMF_INCLUDE_DIR})
|
2020-11-21 11:16:49 +00:00
|
|
|
endif()
|
2020-11-10 01:09:21 +00:00
|
|
|
|
2022-12-20 21:06:39 +00:00
|
|
|
if (LIBSERIALDV_FOUND)
|
|
|
|
add_definitions(-DDSD_USE_SERIALDV)
|
|
|
|
include_directories(${LIBSERIALDV_INCLUDE_DIR})
|
|
|
|
set(sdrbase_SERIALDV_LIB ${LIBSERIALDV_LIBRARY})
|
|
|
|
endif()
|
2018-01-17 23:21:50 +00:00
|
|
|
|
2017-10-22 10:01:04 +00:00
|
|
|
set(sdrbase_SOURCES
|
2019-05-01 09:54:58 +00:00
|
|
|
${sdrbase_SOURCES}
|
2019-07-18 23:37:22 +00:00
|
|
|
|
2018-06-24 22:01:25 +00:00
|
|
|
audio/audiocompressor.cpp
|
2019-07-16 12:56:23 +00:00
|
|
|
audio/audiocompressorsnd.cpp
|
2022-11-17 14:34:54 +00:00
|
|
|
audio/audiodeviceinfo.cpp
|
2018-03-23 17:08:38 +00:00
|
|
|
audio/audiodevicemanager.cpp
|
2017-10-22 10:01:04 +00:00
|
|
|
audio/audiofifo.cpp
|
2019-02-14 13:27:06 +00:00
|
|
|
audio/audiofilter.cpp
|
2019-02-16 10:06:34 +00:00
|
|
|
audio/audiog722.cpp
|
2019-02-18 01:07:30 +00:00
|
|
|
audio/audioopus.cpp
|
2020-11-12 21:13:44 +00:00
|
|
|
audio/audiooutputdevice.cpp
|
2020-11-12 19:30:34 +00:00
|
|
|
audio/audioinputdevice.cpp
|
2018-01-29 00:59:03 +00:00
|
|
|
audio/audionetsink.cpp
|
2019-02-24 19:59:09 +00:00
|
|
|
audio/audioresampler.cpp
|
2018-09-11 11:41:09 +00:00
|
|
|
|
2019-05-09 15:27:12 +00:00
|
|
|
channel/channelapi.cpp
|
2019-08-01 23:58:59 +00:00
|
|
|
channel/channelutils.cpp
|
ADS-B Demodulator updates.
Add OpenSky Network aircraft database support, for information about
aircraft model, owner, registration.
Add airline logos and country & military flags for display in the table.
Add OurAirports airport database support, to allow airports and ATC
frequencies to be displayed on the map.
Allow ATC frequency to be tuned by clicking on the map.
Add support for displaying flight paths on the map.
Allow columns in table to be rearranged and hidden.
Allow rows in table to be sorted by clicking on header.
Allow switching units from ft, kn, ft/min to m, kph, m/s
Allow aircraft timeout to be set by the user.
Allow font used for the table to be set by the user.
Add optional display of demodulator statistics.
Support multithreading in demodulator to reduce FIFO overflows.
Add support for demodulating all Mode-S frames and feeding them.
Add support for feeding in Beast hex format.
Allow option of correlating against full preamble or partial preamble.
Supporting highlighting of an aircraft in the table by selecting it on
the map.
Use difference of zeros and ones correlation, rather than absolute
threshold, to better account for varying conditions and make the
threshold easier to set.
Enable anti-aliasing for text on the map.
Improve CRC performance by 5x-10x.
Add HttpDownloadManager class to support downloading of files from the
web to disk.
2020-11-06 12:18:55 +00:00
|
|
|
channel/channelwebapiutils.cpp
|
2019-02-02 21:58:42 +00:00
|
|
|
channel/remotedataqueue.cpp
|
|
|
|
channel/remotedatareadqueue.cpp
|
2018-09-11 11:41:09 +00:00
|
|
|
|
2018-01-04 10:11:53 +00:00
|
|
|
commands/command.cpp
|
2022-01-06 21:47:41 +00:00
|
|
|
commands/commandkeyreceiver.cpp
|
2017-11-19 02:38:07 +00:00
|
|
|
|
2017-10-22 10:01:04 +00:00
|
|
|
dsp/afsquelch.cpp
|
|
|
|
dsp/agc.cpp
|
2019-12-13 14:15:21 +00:00
|
|
|
dsp/downchannelizer.cpp
|
2019-11-15 00:38:19 +00:00
|
|
|
dsp/upchannelizer.cpp
|
2017-10-22 10:01:04 +00:00
|
|
|
dsp/channelmarker.cpp
|
|
|
|
dsp/ctcssdetector.cpp
|
2020-10-31 21:56:12 +00:00
|
|
|
dsp/ctcssfrequencies.cpp
|
2019-11-23 06:39:57 +00:00
|
|
|
dsp/channelsamplesink.cpp
|
2019-10-23 16:34:57 +00:00
|
|
|
dsp/channelsamplesource.cpp
|
2021-03-05 13:37:49 +00:00
|
|
|
dsp/costasloop.cpp
|
2017-10-22 10:01:04 +00:00
|
|
|
dsp/cwkeyer.cpp
|
2017-12-10 19:27:08 +00:00
|
|
|
dsp/cwkeyersettings.cpp
|
2020-12-15 22:40:52 +00:00
|
|
|
dsp/datafifo.cpp
|
2021-04-17 16:14:15 +00:00
|
|
|
dsp/dcscodes.cpp
|
2018-04-25 16:01:01 +00:00
|
|
|
dsp/decimatorsff.cpp
|
2018-04-24 23:44:54 +00:00
|
|
|
dsp/decimatorsfi.cpp
|
2020-07-18 22:56:15 +00:00
|
|
|
dsp/decimatorc.cpp
|
2017-10-22 10:01:04 +00:00
|
|
|
dsp/dspcommands.cpp
|
|
|
|
dsp/dspengine.cpp
|
|
|
|
dsp/dspdevicesourceengine.cpp
|
|
|
|
dsp/dspdevicesinkengine.cpp
|
2019-05-15 22:43:15 +00:00
|
|
|
dsp/dspdevicemimoengine.cpp
|
2018-05-20 08:42:14 +00:00
|
|
|
dsp/fftcorr.cpp
|
2017-10-22 10:01:04 +00:00
|
|
|
dsp/fftengine.cpp
|
2020-03-12 05:27:38 +00:00
|
|
|
dsp/fftfactory.cpp
|
2018-05-21 22:13:40 +00:00
|
|
|
dsp/fftfilt.cpp
|
2017-10-22 10:01:04 +00:00
|
|
|
dsp/fftwindow.cpp
|
|
|
|
dsp/filterrc.cpp
|
|
|
|
dsp/filtermbe.cpp
|
|
|
|
dsp/filerecord.cpp
|
2020-08-06 08:46:49 +00:00
|
|
|
dsp/filerecordinterface.cpp
|
2020-10-31 20:30:45 +00:00
|
|
|
dsp/firfilter.cpp
|
2020-09-18 15:36:27 +00:00
|
|
|
dsp/fmpreemphasis.cpp
|
2018-05-16 23:05:48 +00:00
|
|
|
dsp/freqlockcomplex.cpp
|
2017-10-22 10:01:04 +00:00
|
|
|
dsp/interpolator.cpp
|
2019-08-07 16:50:26 +00:00
|
|
|
dsp/glscopesettings.cpp
|
2021-04-20 08:32:21 +00:00
|
|
|
dsp/spectrumsettings.cpp
|
2020-11-24 12:31:16 +00:00
|
|
|
dsp/goertzel.cpp
|
2019-04-25 13:48:47 +00:00
|
|
|
dsp/hbfilterchainconverter.cpp
|
2017-10-22 10:01:04 +00:00
|
|
|
dsp/hbfiltertraits.cpp
|
2019-09-03 05:59:14 +00:00
|
|
|
dsp/mimochannel.cpp
|
2023-03-21 10:54:42 +00:00
|
|
|
dsp/morsedemod.cpp
|
2017-10-22 10:01:04 +00:00
|
|
|
dsp/nco.cpp
|
|
|
|
dsp/ncof.cpp
|
|
|
|
dsp/phaselock.cpp
|
2018-05-13 06:55:14 +00:00
|
|
|
dsp/phaselockcomplex.cpp
|
2018-04-03 16:51:21 +00:00
|
|
|
dsp/projector.cpp
|
2019-09-24 22:35:02 +00:00
|
|
|
dsp/samplemififo.cpp
|
2019-10-16 22:03:52 +00:00
|
|
|
dsp/samplemofifo.cpp
|
2017-10-22 10:01:04 +00:00
|
|
|
dsp/samplesinkfifo.cpp
|
2020-07-16 14:57:51 +00:00
|
|
|
dsp/samplesimplefifo.cpp
|
2019-11-15 00:04:24 +00:00
|
|
|
dsp/samplesourcefifo.cpp
|
2021-05-29 10:22:43 +00:00
|
|
|
dsp/scopevis.cpp
|
2017-10-22 10:01:04 +00:00
|
|
|
dsp/basebandsamplesink.cpp
|
|
|
|
dsp/basebandsamplesource.cpp
|
|
|
|
dsp/recursivefilters.cpp
|
|
|
|
dsp/wfir.cpp
|
|
|
|
dsp/devicesamplesource.cpp
|
|
|
|
dsp/devicesamplesink.cpp
|
2019-05-15 22:43:15 +00:00
|
|
|
dsp/devicesamplemimo.cpp
|
2019-09-17 22:15:04 +00:00
|
|
|
dsp/devicesamplestatic.cpp
|
2021-08-07 17:45:48 +00:00
|
|
|
dsp/spectrummarkers.cpp
|
2022-01-30 06:43:50 +00:00
|
|
|
dsp/spectrumcalibrationpoint.cpp
|
2020-04-28 16:44:03 +00:00
|
|
|
dsp/spectrumvis.cpp
|
2021-05-21 09:06:10 +00:00
|
|
|
dsp/wavfilerecord.cpp
|
2017-10-22 10:01:04 +00:00
|
|
|
|
2019-05-07 22:30:40 +00:00
|
|
|
device/deviceapi.cpp
|
2017-11-02 02:30:54 +00:00
|
|
|
device/deviceenumerator.cpp
|
2020-10-01 04:09:37 +00:00
|
|
|
device/deviceset.cpp
|
2019-06-12 16:50:53 +00:00
|
|
|
device/deviceuserargs.cpp
|
2019-08-04 18:24:44 +00:00
|
|
|
device/deviceutils.cpp
|
2017-10-31 23:30:25 +00:00
|
|
|
|
2020-09-19 23:06:34 +00:00
|
|
|
feature/feature.cpp
|
2020-10-10 18:08:11 +00:00
|
|
|
feature/featureset.cpp
|
2020-09-24 03:38:05 +00:00
|
|
|
feature/featureutils.cpp
|
2021-01-13 19:58:07 +00:00
|
|
|
feature/featurewebapiutils.cpp
|
2020-09-19 23:06:34 +00:00
|
|
|
|
2022-02-21 02:06:16 +00:00
|
|
|
pipes/datafifostore.cpp
|
2020-12-15 22:40:52 +00:00
|
|
|
pipes/datapipes.cpp
|
|
|
|
pipes/datapipesgcworker.cpp
|
2022-02-28 22:32:23 +00:00
|
|
|
pipes/messagepipes.cpp
|
|
|
|
pipes/messagepipesgcworker.cpp
|
2022-02-24 07:32:07 +00:00
|
|
|
pipes/messagequeuestore.cpp
|
2022-02-20 21:08:49 +00:00
|
|
|
pipes/objectpipe.cpp
|
|
|
|
pipes/objectpipesregistrations.cpp
|
2020-11-29 08:26:32 +00:00
|
|
|
|
2022-04-05 14:26:57 +00:00
|
|
|
settings/configuration.cpp
|
2020-09-24 03:38:05 +00:00
|
|
|
settings/featuresetpreset.cpp
|
2023-08-24 14:51:50 +00:00
|
|
|
settings/pluginpreset.cpp
|
2017-10-22 10:01:04 +00:00
|
|
|
settings/preferences.cpp
|
|
|
|
settings/preset.cpp
|
|
|
|
settings/mainsettings.cpp
|
2022-01-09 04:27:12 +00:00
|
|
|
settings/rollupstate.cpp
|
2017-10-22 10:01:04 +00:00
|
|
|
|
2021-05-07 20:50:27 +00:00
|
|
|
util/ais.cpp
|
2022-12-20 21:06:39 +00:00
|
|
|
util/android.cpp
|
2023-05-15 15:40:43 +00:00
|
|
|
util/aprsfi.cpp
|
2022-06-06 09:53:10 +00:00
|
|
|
util/aviationweather.cpp
|
2021-01-13 19:58:07 +00:00
|
|
|
util/ax25.cpp
|
2021-01-13 20:51:38 +00:00
|
|
|
util/aprs.cpp
|
|
|
|
util/astronomy.cpp
|
2020-10-27 16:22:10 +00:00
|
|
|
util/azel.cpp
|
2023-03-03 16:37:38 +00:00
|
|
|
util/baudot.cpp
|
2022-06-18 11:35:44 +00:00
|
|
|
util/colormap.cpp
|
2022-03-01 17:17:56 +00:00
|
|
|
util/coordinates.cpp
|
2020-09-18 15:36:27 +00:00
|
|
|
util/crc.cpp
|
2017-10-22 10:01:04 +00:00
|
|
|
util/CRC64.cpp
|
2020-11-30 00:30:18 +00:00
|
|
|
util/csv.cpp
|
2017-10-22 10:01:04 +00:00
|
|
|
util/db.cpp
|
2023-05-15 15:40:43 +00:00
|
|
|
util/dsc.cpp
|
2018-02-03 06:18:26 +00:00
|
|
|
util/fixedtraits.cpp
|
2021-01-29 12:57:58 +00:00
|
|
|
util/fits.cpp
|
2021-10-29 11:54:10 +00:00
|
|
|
util/flightinformation.cpp
|
2023-01-19 22:51:43 +00:00
|
|
|
util/ft8message.cpp
|
2022-07-20 16:41:11 +00:00
|
|
|
util/giro.cpp
|
2021-04-17 16:14:15 +00:00
|
|
|
util/golay2312.cpp
|
ADS-B Demodulator updates.
Add OpenSky Network aircraft database support, for information about
aircraft model, owner, registration.
Add airline logos and country & military flags for display in the table.
Add OurAirports airport database support, to allow airports and ATC
frequencies to be displayed on the map.
Allow ATC frequency to be tuned by clicking on the map.
Add support for displaying flight paths on the map.
Allow columns in table to be rearranged and hidden.
Allow rows in table to be sorted by clicking on header.
Allow switching units from ft, kn, ft/min to m, kph, m/s
Allow aircraft timeout to be set by the user.
Allow font used for the table to be set by the user.
Add optional display of demodulator statistics.
Support multithreading in demodulator to reduce FIFO overflows.
Add support for demodulating all Mode-S frames and feeding them.
Add support for feeding in Beast hex format.
Allow option of correlating against full preamble or partial preamble.
Supporting highlighting of an aircraft in the table by selecting it on
the map.
Use difference of zeros and ones correlation, rather than absolute
threshold, to better account for varying conditions and make the
threshold easier to set.
Enable anti-aliasing for text on the map.
Improve CRC performance by 5x-10x.
Add HttpDownloadManager class to support downloading of files from the
web to disk.
2020-11-06 12:18:55 +00:00
|
|
|
util/httpdownloadmanager.cpp
|
2021-06-10 19:10:19 +00:00
|
|
|
util/interpolation.cpp
|
2020-09-23 12:42:29 +00:00
|
|
|
util/lfsr.cpp
|
2021-01-13 19:58:07 +00:00
|
|
|
util/maidenhead.cpp
|
2017-10-22 10:01:04 +00:00
|
|
|
util/message.cpp
|
|
|
|
util/messagequeue.cpp
|
2023-05-15 15:40:43 +00:00
|
|
|
util/mmsi.cpp
|
2020-11-24 12:31:16 +00:00
|
|
|
util/morse.cpp
|
2023-03-03 16:37:38 +00:00
|
|
|
util/navtex.cpp
|
2021-11-12 16:51:23 +00:00
|
|
|
util/openaip.cpp
|
ADS-B: Add support for decoding Comm-B replies in Mode-S frames. This adds TAS, IAS, Mach, Selelected Alt, Selected Heading, Turn rate, Roll angle, Autopilot enabled, Vertical and lateral navigation modes, Baro setting, Headwind, OAT, Wind speed and direction, Pressure, Static air temperature, Humidity.
2022-08-26 11:35:12 +00:00
|
|
|
util/osndb.cpp
|
2023-02-14 14:46:08 +00:00
|
|
|
util/ourairportsdb.cpp
|
2022-10-02 22:23:47 +00:00
|
|
|
util/peakfinder.cpp
|
2021-11-12 16:51:23 +00:00
|
|
|
util/planespotters.cpp
|
2021-10-12 10:07:56 +00:00
|
|
|
util/png.cpp
|
2017-10-22 10:01:04 +00:00
|
|
|
util/prettyprint.cpp
|
2023-08-13 22:52:57 +00:00
|
|
|
util/profiler.cpp
|
2022-03-01 17:17:56 +00:00
|
|
|
util/radiosonde.cpp
|
2018-03-06 01:23:47 +00:00
|
|
|
util/rtpsink.cpp
|
2017-10-22 10:01:04 +00:00
|
|
|
util/syncmessenger.cpp
|
|
|
|
util/samplesourceserializer.cpp
|
|
|
|
util/simpleserializer.cpp
|
2020-01-12 00:10:51 +00:00
|
|
|
util/serialutil.cpp
|
2017-10-22 10:01:04 +00:00
|
|
|
#util/spinlock.cpp
|
2023-09-04 12:01:22 +00:00
|
|
|
util/rtty.cpp
|
2017-11-19 10:36:20 +00:00
|
|
|
util/uid.cpp
|
2020-11-24 12:31:16 +00:00
|
|
|
util/units.cpp
|
2018-11-13 12:19:54 +00:00
|
|
|
util/timeutil.cpp
|
2021-06-09 15:17:59 +00:00
|
|
|
util/visa.cpp
|
2021-10-12 10:07:56 +00:00
|
|
|
util/weather.cpp
|
2022-09-16 09:01:25 +00:00
|
|
|
util/iot/device.cpp
|
|
|
|
util/iot/homeassistant.cpp
|
|
|
|
util/iot/tplink.cpp
|
|
|
|
util/iot/visa.cpp
|
2018-09-11 11:41:09 +00:00
|
|
|
|
|
|
|
plugin/plugininterface.cpp
|
2017-11-01 22:00:00 +00:00
|
|
|
plugin/pluginapi.cpp
|
2017-11-17 02:17:15 +00:00
|
|
|
plugin/pluginmanager.cpp
|
2018-09-11 11:41:09 +00:00
|
|
|
|
2020-10-11 10:39:30 +00:00
|
|
|
webapi/webapiadapter.cpp
|
2019-08-01 00:16:56 +00:00
|
|
|
webapi/webapiadapterbase.cpp
|
2017-11-18 18:34:47 +00:00
|
|
|
webapi/webapiadapterinterface.cpp
|
2017-11-17 02:55:36 +00:00
|
|
|
webapi/webapirequestmapper.cpp
|
|
|
|
webapi/webapiserver.cpp
|
2020-09-27 22:18:30 +00:00
|
|
|
webapi/webapiutils.cpp
|
2018-09-11 11:41:09 +00:00
|
|
|
|
2020-04-29 15:41:17 +00:00
|
|
|
websockets/wsspectrum.cpp
|
|
|
|
|
2017-11-18 04:06:43 +00:00
|
|
|
mainparser.cpp
|
2020-10-09 06:52:30 +00:00
|
|
|
maincore.cpp
|
2023-09-05 15:38:15 +00:00
|
|
|
remotetcpsinkstarter.cpp
|
2019-05-01 09:54:58 +00:00
|
|
|
|
2019-05-31 08:14:10 +00:00
|
|
|
resources/webapi.qrc
|
2017-10-22 10:01:04 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
set(sdrbase_HEADERS
|
2019-05-01 09:54:58 +00:00
|
|
|
${sdrbase_HEADERS}
|
2019-07-18 23:37:22 +00:00
|
|
|
|
2019-05-01 09:54:58 +00:00
|
|
|
audio/audiocompressor.h
|
2019-07-16 12:56:23 +00:00
|
|
|
audio/audiocompressorsnd.h
|
2022-11-17 14:34:54 +00:00
|
|
|
audio/audiodeviceinfo.h
|
2018-03-23 17:08:38 +00:00
|
|
|
audio/audiodevicemanager.h
|
2017-10-22 10:01:04 +00:00
|
|
|
audio/audiofifo.h
|
2019-02-14 13:27:06 +00:00
|
|
|
audio/audiofilter.h
|
2019-02-16 10:06:34 +00:00
|
|
|
audio/audiog722.h
|
2020-11-12 21:13:44 +00:00
|
|
|
audio/audiooutputdevice.h
|
2019-02-18 01:07:30 +00:00
|
|
|
audio/audioopus.h
|
2020-11-12 19:30:34 +00:00
|
|
|
audio/audioinputdevice.h
|
2018-01-29 00:59:03 +00:00
|
|
|
audio/audionetsink.h
|
2019-02-24 19:59:09 +00:00
|
|
|
audio/audioresampler.h
|
2017-10-22 10:01:04 +00:00
|
|
|
|
2019-05-09 15:27:12 +00:00
|
|
|
channel/channelapi.h
|
2019-08-01 23:58:59 +00:00
|
|
|
channel/channelutils.h
|
ADS-B Demodulator updates.
Add OpenSky Network aircraft database support, for information about
aircraft model, owner, registration.
Add airline logos and country & military flags for display in the table.
Add OurAirports airport database support, to allow airports and ATC
frequencies to be displayed on the map.
Allow ATC frequency to be tuned by clicking on the map.
Add support for displaying flight paths on the map.
Allow columns in table to be rearranged and hidden.
Allow rows in table to be sorted by clicking on header.
Allow switching units from ft, kn, ft/min to m, kph, m/s
Allow aircraft timeout to be set by the user.
Allow font used for the table to be set by the user.
Add optional display of demodulator statistics.
Support multithreading in demodulator to reduce FIFO overflows.
Add support for demodulating all Mode-S frames and feeding them.
Add support for feeding in Beast hex format.
Allow option of correlating against full preamble or partial preamble.
Supporting highlighting of an aircraft in the table by selecting it on
the map.
Use difference of zeros and ones correlation, rather than absolute
threshold, to better account for varying conditions and make the
threshold easier to set.
Enable anti-aliasing for text on the map.
Improve CRC performance by 5x-10x.
Add HttpDownloadManager class to support downloading of files from the
web to disk.
2020-11-06 12:18:55 +00:00
|
|
|
channel/channelwebapiutils.h
|
2019-02-02 21:58:42 +00:00
|
|
|
channel/remotedataqueue.h
|
|
|
|
channel/remotedatareadqueue.h
|
|
|
|
channel/remotedatablock.h
|
2018-09-11 11:41:09 +00:00
|
|
|
|
2018-01-04 10:11:53 +00:00
|
|
|
commands/command.h
|
2022-01-06 21:47:41 +00:00
|
|
|
commands/commandkeyreceiver.h
|
2017-11-19 02:38:07 +00:00
|
|
|
|
2017-10-22 10:01:04 +00:00
|
|
|
dsp/afsquelch.h
|
2018-02-04 21:52:31 +00:00
|
|
|
dsp/autocorrector.h
|
2019-12-13 14:15:21 +00:00
|
|
|
dsp/downchannelizer.h
|
2019-11-15 00:38:19 +00:00
|
|
|
dsp/upchannelizer.h
|
2017-10-22 10:01:04 +00:00
|
|
|
dsp/channelmarker.h
|
2019-11-23 06:39:57 +00:00
|
|
|
dsp/channelsamplesink.h
|
2019-10-23 16:34:57 +00:00
|
|
|
dsp/channelsamplesource.h
|
2017-10-22 10:01:04 +00:00
|
|
|
dsp/complex.h
|
2021-03-05 13:37:49 +00:00
|
|
|
dsp/costasloop.h
|
2020-10-31 21:56:12 +00:00
|
|
|
dsp/ctcssdetector.h
|
|
|
|
dsp/ctcssfrequencies.h
|
2017-10-22 10:01:04 +00:00
|
|
|
dsp/cwkeyer.h
|
2017-12-10 19:27:08 +00:00
|
|
|
dsp/cwkeyersettings.h
|
2020-12-15 22:40:52 +00:00
|
|
|
dsp/datafifo.h
|
2021-04-17 16:14:15 +00:00
|
|
|
dsp/dcscodes.h
|
2017-10-22 10:01:04 +00:00
|
|
|
dsp/decimators.h
|
2018-05-01 17:49:47 +00:00
|
|
|
dsp/decimatorsif.h
|
2018-04-25 16:01:01 +00:00
|
|
|
dsp/decimatorsff.h
|
2018-04-24 23:44:54 +00:00
|
|
|
dsp/decimatorsfi.h
|
2018-01-15 23:01:38 +00:00
|
|
|
dsp/decimatorsu.h
|
2020-07-18 22:56:15 +00:00
|
|
|
dsp/decimatorc.h
|
2017-10-22 10:01:04 +00:00
|
|
|
dsp/interpolators.h
|
2019-05-17 16:35:34 +00:00
|
|
|
dsp/interpolatorsif.h
|
2017-10-22 10:01:04 +00:00
|
|
|
dsp/dspcommands.h
|
|
|
|
dsp/dspengine.h
|
|
|
|
dsp/dspdevicesourceengine.h
|
|
|
|
dsp/dspdevicesinkengine.h
|
2019-05-15 22:43:15 +00:00
|
|
|
dsp/dspdevicemimoengine.h
|
2017-10-22 10:01:04 +00:00
|
|
|
dsp/dsptypes.h
|
2018-05-20 08:42:14 +00:00
|
|
|
dsp/fftcorr.h
|
2017-10-22 10:01:04 +00:00
|
|
|
dsp/fftengine.h
|
2020-03-12 05:27:38 +00:00
|
|
|
dsp/fftfactory.h
|
2017-10-22 10:01:04 +00:00
|
|
|
dsp/fftfilt.h
|
|
|
|
dsp/fftwengine.h
|
|
|
|
dsp/fftwindow.h
|
|
|
|
dsp/filterrc.h
|
|
|
|
dsp/filtermbe.h
|
|
|
|
dsp/filerecord.h
|
2020-08-06 08:46:49 +00:00
|
|
|
dsp/filerecordinterface.h
|
2020-10-31 20:30:45 +00:00
|
|
|
dsp/firfilter.h
|
2020-09-18 15:36:27 +00:00
|
|
|
dsp/fmpreemphasis.h
|
2018-05-16 23:05:48 +00:00
|
|
|
dsp/freqlockcomplex.h
|
2017-10-22 10:01:04 +00:00
|
|
|
dsp/gfft.h
|
2019-08-07 16:50:26 +00:00
|
|
|
dsp/glscopesettings.h
|
2020-11-11 09:23:31 +00:00
|
|
|
dsp/glspectruminterface.h
|
2021-08-07 17:45:48 +00:00
|
|
|
dsp/spectrummarkers.h
|
2022-01-30 06:43:50 +00:00
|
|
|
dsp/spectrumcalibrationpoint.h
|
2021-04-20 08:32:21 +00:00
|
|
|
dsp/spectrumsettings.h
|
2020-11-24 12:31:16 +00:00
|
|
|
dsp/goertzel.h
|
2019-04-25 13:48:47 +00:00
|
|
|
dsp/hbfilterchainconverter.h
|
2017-12-26 09:59:51 +00:00
|
|
|
dsp/iirfilter.h
|
2017-10-22 10:01:04 +00:00
|
|
|
dsp/interpolator.h
|
|
|
|
dsp/hbfiltertraits.h
|
|
|
|
dsp/inthalfbandfilter.h
|
|
|
|
dsp/inthalfbandfilterdb.h
|
2018-04-29 09:48:46 +00:00
|
|
|
dsp/inthalfbandfilterdbf.h
|
2018-05-02 12:00:03 +00:00
|
|
|
dsp/inthalfbandfiltereo.h
|
|
|
|
# dsp/inthalfbandfiltereo1.h
|
|
|
|
# dsp/inthalfbandfiltereo1i.h
|
|
|
|
# dsp/inthalfbandfiltereo2.h
|
2018-04-29 20:56:34 +00:00
|
|
|
dsp/inthalfbandfiltereof.h
|
2017-10-22 10:01:04 +00:00
|
|
|
dsp/inthalfbandfilterst.h
|
|
|
|
dsp/inthalfbandfiltersti.h
|
|
|
|
dsp/kissfft.h
|
|
|
|
dsp/kissengine.h
|
2020-10-31 23:45:19 +00:00
|
|
|
dsp/firfilter.h
|
2021-05-07 20:50:27 +00:00
|
|
|
dsp/gaussian.h
|
2019-09-03 05:59:14 +00:00
|
|
|
dsp/mimochannel.h
|
2017-10-22 10:01:04 +00:00
|
|
|
dsp/misc.h
|
|
|
|
dsp/movingaverage.h
|
2023-03-21 10:54:42 +00:00
|
|
|
dsp/morsedemod.h
|
2017-10-22 10:01:04 +00:00
|
|
|
dsp/nco.h
|
|
|
|
dsp/ncof.h
|
|
|
|
dsp/phasediscri.h
|
|
|
|
dsp/phaselock.h
|
2018-05-13 06:55:14 +00:00
|
|
|
dsp/phaselockcomplex.h
|
2018-04-03 16:51:21 +00:00
|
|
|
dsp/projector.h
|
2020-09-23 12:42:29 +00:00
|
|
|
dsp/raisedcosine.h
|
2017-10-22 10:01:04 +00:00
|
|
|
dsp/recursivefilters.h
|
2021-03-18 17:17:58 +00:00
|
|
|
dsp/rootraisedcosine.h
|
2019-09-24 22:35:02 +00:00
|
|
|
dsp/samplemififo.h
|
2019-10-16 22:03:52 +00:00
|
|
|
dsp/samplemofifo.h
|
2017-10-22 10:01:04 +00:00
|
|
|
dsp/samplesinkfifo.h
|
2020-07-16 14:57:51 +00:00
|
|
|
dsp/samplesimplefifo.h
|
2019-11-15 00:04:24 +00:00
|
|
|
dsp/samplesourcefifo.h
|
2021-05-29 10:22:43 +00:00
|
|
|
dsp/scopevis.h
|
2017-10-22 10:01:04 +00:00
|
|
|
dsp/basebandsamplesink.h
|
|
|
|
dsp/basebandsamplesource.h
|
|
|
|
dsp/wfir.h
|
|
|
|
dsp/devicesamplesource.h
|
|
|
|
dsp/devicesamplesink.h
|
2019-05-15 22:43:15 +00:00
|
|
|
dsp/devicesamplemimo.h
|
2019-09-17 22:15:04 +00:00
|
|
|
dsp/devicesamplestatic.h
|
2020-04-28 16:44:03 +00:00
|
|
|
dsp/spectrumvis.h
|
2021-05-21 09:06:10 +00:00
|
|
|
dsp/wavfilerecord.h
|
2017-10-22 10:01:04 +00:00
|
|
|
|
2019-05-07 22:30:40 +00:00
|
|
|
device/deviceapi.h
|
2017-11-02 02:30:54 +00:00
|
|
|
device/deviceenumerator.h
|
2020-10-01 04:09:37 +00:00
|
|
|
device/deviceset.h
|
2019-06-12 16:50:53 +00:00
|
|
|
device/deviceuserargs.h
|
2019-08-04 18:24:44 +00:00
|
|
|
device/deviceutils.h
|
2017-10-31 23:30:25 +00:00
|
|
|
|
2020-09-19 23:06:34 +00:00
|
|
|
feature/feature.h
|
2020-10-10 18:08:11 +00:00
|
|
|
feature/featureset.h
|
2020-09-24 03:38:05 +00:00
|
|
|
feature/featureutils.h
|
2021-01-13 19:58:07 +00:00
|
|
|
feature/featurewebapiutils.h
|
2020-09-19 23:06:34 +00:00
|
|
|
|
2022-02-21 02:06:16 +00:00
|
|
|
pipes/datafifostore.h
|
2020-12-15 22:40:52 +00:00
|
|
|
pipes/datapipes.h
|
|
|
|
pipes/datapipesgcworker.h
|
|
|
|
pipes/elementpipescommon.h
|
|
|
|
pipes/elementpipesgc.h
|
2022-02-28 22:32:23 +00:00
|
|
|
pipes/messagepipes.h
|
|
|
|
pipes/messagepipesgcworker.h
|
2022-02-24 07:32:07 +00:00
|
|
|
pipes/messagequeuestore.h
|
2022-02-20 21:08:49 +00:00
|
|
|
pipes/objectpipe.h
|
|
|
|
pipes/objectpipesregistrations.h
|
2020-11-29 08:26:32 +00:00
|
|
|
|
2017-10-31 23:30:25 +00:00
|
|
|
plugin/plugininterface.h
|
2017-11-01 22:00:00 +00:00
|
|
|
plugin/pluginapi.h
|
|
|
|
plugin/pluginmanager.h
|
2017-10-22 10:01:04 +00:00
|
|
|
|
2022-04-05 14:26:57 +00:00
|
|
|
settings/configuration.h
|
2020-09-24 03:38:05 +00:00
|
|
|
settings/featuresetpreset.h
|
2023-08-24 14:51:50 +00:00
|
|
|
settings/pluginpreset.h
|
2017-10-22 10:01:04 +00:00
|
|
|
settings/preferences.h
|
|
|
|
settings/preset.h
|
|
|
|
settings/mainsettings.h
|
2022-01-09 04:27:12 +00:00
|
|
|
settings/rollupstate.h
|
2017-10-22 10:01:04 +00:00
|
|
|
|
2021-05-07 20:50:27 +00:00
|
|
|
util/ais.h
|
2022-12-20 21:06:39 +00:00
|
|
|
util/android.h
|
2023-05-15 15:40:43 +00:00
|
|
|
util/aprsfi.h
|
2022-06-06 09:53:10 +00:00
|
|
|
util/aviationweather.h
|
2021-01-13 19:58:07 +00:00
|
|
|
util/ax25.h
|
2021-01-13 20:51:38 +00:00
|
|
|
util/aprs.h
|
|
|
|
util/astronomy.h
|
2020-10-27 16:22:10 +00:00
|
|
|
util/azel.h
|
2023-03-03 16:37:38 +00:00
|
|
|
util/baudot.h
|
2022-06-18 11:35:44 +00:00
|
|
|
util/colormap.h
|
2022-03-01 17:17:56 +00:00
|
|
|
util/coordinates.h
|
2017-10-22 10:01:04 +00:00
|
|
|
util/CRC64.h
|
2020-11-30 00:30:18 +00:00
|
|
|
util/csv.h
|
2017-10-22 10:01:04 +00:00
|
|
|
util/db.h
|
2023-05-15 15:40:43 +00:00
|
|
|
util/dsc.h
|
2017-10-22 10:01:04 +00:00
|
|
|
util/doublebuffer.h
|
2018-04-21 07:23:01 +00:00
|
|
|
util/doublebufferfifo.h
|
2021-06-01 08:58:29 +00:00
|
|
|
util/doublebuffermultiple.h
|
2018-02-03 06:18:26 +00:00
|
|
|
util/fixedtraits.h
|
2021-01-29 12:57:58 +00:00
|
|
|
util/fits.h
|
2021-10-29 11:54:10 +00:00
|
|
|
util/flightinformation.h
|
2023-01-19 22:51:43 +00:00
|
|
|
util/ft8message.h
|
2022-07-20 16:41:11 +00:00
|
|
|
util/giro.h
|
2021-04-17 16:14:15 +00:00
|
|
|
util/golay2312.h
|
ADS-B Demodulator updates.
Add OpenSky Network aircraft database support, for information about
aircraft model, owner, registration.
Add airline logos and country & military flags for display in the table.
Add OurAirports airport database support, to allow airports and ATC
frequencies to be displayed on the map.
Allow ATC frequency to be tuned by clicking on the map.
Add support for displaying flight paths on the map.
Allow columns in table to be rearranged and hidden.
Allow rows in table to be sorted by clicking on header.
Allow switching units from ft, kn, ft/min to m, kph, m/s
Allow aircraft timeout to be set by the user.
Allow font used for the table to be set by the user.
Add optional display of demodulator statistics.
Support multithreading in demodulator to reduce FIFO overflows.
Add support for demodulating all Mode-S frames and feeding them.
Add support for feeding in Beast hex format.
Allow option of correlating against full preamble or partial preamble.
Supporting highlighting of an aircraft in the table by selecting it on
the map.
Use difference of zeros and ones correlation, rather than absolute
threshold, to better account for varying conditions and make the
threshold easier to set.
Enable anti-aliasing for text on the map.
Improve CRC performance by 5x-10x.
Add HttpDownloadManager class to support downloading of files from the
web to disk.
2020-11-06 12:18:55 +00:00
|
|
|
util/httpdownloadmanager.h
|
2019-10-19 03:07:24 +00:00
|
|
|
util/incrementalarray.h
|
|
|
|
util/incrementalvector.h
|
2021-06-10 19:10:19 +00:00
|
|
|
util/interpolation.h
|
2020-09-23 12:42:29 +00:00
|
|
|
util/lfsr.h
|
2021-01-13 19:58:07 +00:00
|
|
|
util/maidenhead.h
|
2017-10-22 10:01:04 +00:00
|
|
|
util/message.h
|
|
|
|
util/messagequeue.h
|
2023-05-15 15:40:43 +00:00
|
|
|
util/mmsi.h
|
2020-11-24 12:31:16 +00:00
|
|
|
util/morse.h
|
2017-10-22 10:01:04 +00:00
|
|
|
util/movingaverage.h
|
2023-03-03 16:37:38 +00:00
|
|
|
util/movingmaximum.h
|
|
|
|
util/navtex.h
|
2021-11-12 16:51:23 +00:00
|
|
|
util/openaip.h
|
ADS-B: Add support for decoding Comm-B replies in Mode-S frames. This adds TAS, IAS, Mach, Selelected Alt, Selected Heading, Turn rate, Roll angle, Autopilot enabled, Vertical and lateral navigation modes, Baro setting, Headwind, OAT, Wind speed and direction, Pressure, Static air temperature, Humidity.
2022-08-26 11:35:12 +00:00
|
|
|
util/osndb.h
|
2023-02-14 14:46:08 +00:00
|
|
|
util/outairportsdb.h
|
2022-10-02 22:23:47 +00:00
|
|
|
util/peakfinder.h
|
2021-11-12 16:51:23 +00:00
|
|
|
util/planespotters.h
|
2021-10-12 10:07:56 +00:00
|
|
|
util/png.h
|
2017-10-22 10:01:04 +00:00
|
|
|
util/prettyprint.h
|
2023-08-13 22:52:57 +00:00
|
|
|
util/profiler.h
|
2022-03-01 17:17:56 +00:00
|
|
|
util/radiosonde.h
|
2018-03-06 01:23:47 +00:00
|
|
|
util/rtpsink.h
|
2023-09-04 12:01:22 +00:00
|
|
|
util/rtty.h
|
2017-10-22 10:01:04 +00:00
|
|
|
util/syncmessenger.h
|
|
|
|
util/samplesourceserializer.h
|
|
|
|
util/simpleserializer.h
|
2020-01-12 00:10:51 +00:00
|
|
|
util/serialutil.h
|
2017-10-22 10:01:04 +00:00
|
|
|
#util/spinlock.h
|
2017-11-19 10:36:20 +00:00
|
|
|
util/uid.h
|
2020-11-24 12:31:16 +00:00
|
|
|
util/units.h
|
2018-11-13 12:19:54 +00:00
|
|
|
util/timeutil.h
|
2021-06-09 15:17:59 +00:00
|
|
|
util/visa.h
|
2021-10-12 10:07:56 +00:00
|
|
|
util/weather.h
|
2022-09-16 09:01:25 +00:00
|
|
|
util/iot/device.h
|
|
|
|
util/iot/homeassistant.h
|
|
|
|
util/iot/tplink.h
|
|
|
|
util/iot/visa.h
|
2018-09-11 11:41:09 +00:00
|
|
|
|
2020-10-11 10:39:30 +00:00
|
|
|
webapi/webapiadapter.h
|
2019-08-01 00:16:56 +00:00
|
|
|
webapi/webapiadapterbase.h
|
2017-11-17 02:17:15 +00:00
|
|
|
webapi/webapiadapterinterface.h
|
|
|
|
webapi/webapirequestmapper.h
|
2020-04-29 15:41:17 +00:00
|
|
|
webapi/webapiserver.h
|
2020-09-27 22:18:30 +00:00
|
|
|
webapi/webapiutils.h
|
2020-04-29 15:41:17 +00:00
|
|
|
|
|
|
|
websockets/wsspectrum.h
|
2018-09-11 11:41:09 +00:00
|
|
|
|
2017-11-18 04:06:43 +00:00
|
|
|
mainparser.h
|
2020-10-09 06:52:30 +00:00
|
|
|
maincore.h
|
2023-09-05 15:38:15 +00:00
|
|
|
remotetcpsinkstarter.h
|
2017-10-22 10:01:04 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
include_directories(
|
2018-03-09 12:48:14 +00:00
|
|
|
${CMAKE_SOURCE_DIR}/exports
|
2017-11-17 02:17:15 +00:00
|
|
|
${CMAKE_SOURCE_DIR}/httpserver
|
2020-10-09 06:52:30 +00:00
|
|
|
${CMAKE_SOURCE_DIR}/logging
|
2018-03-06 01:23:47 +00:00
|
|
|
${CMAKE_SOURCE_DIR}/qrtplib
|
2017-11-17 02:17:15 +00:00
|
|
|
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
|
2018-12-02 02:06:04 +00:00
|
|
|
${Boost_INCLUDE_DIRS}
|
2019-02-18 01:07:30 +00:00
|
|
|
${OPUS_INCLUDE_DIRS}
|
2023-02-14 14:46:08 +00:00
|
|
|
${Qt${QT_DEFAULT_MAJOR_VERSION}Gui_PRIVATE_INCLUDE_DIRS}
|
2017-10-22 10:01:04 +00:00
|
|
|
)
|
|
|
|
|
2019-05-01 09:54:58 +00:00
|
|
|
add_library(sdrbase SHARED
|
|
|
|
${sdrbase_SOURCES}
|
|
|
|
)
|
|
|
|
|
2020-04-30 12:19:19 +00:00
|
|
|
if(LIMESUITE_EXTERNAL)
|
|
|
|
add_dependencies(sdrbase limesuite)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if(LIBSERIALDV_EXTERNAL)
|
2019-05-23 14:01:06 +00:00
|
|
|
add_dependencies(sdrbase serialdv)
|
|
|
|
endif()
|
|
|
|
|
2022-05-17 13:11:10 +00:00
|
|
|
if(DEFINED FFTW3F_DEPENDS)
|
|
|
|
add_dependencies(sdrbase "${FFTW3F_DEPENDS}")
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if(DEFINED OPUS_DEPENDS)
|
|
|
|
add_dependencies(sdrbase "${OPUS_DEPENDS}")
|
|
|
|
endif()
|
|
|
|
|
2023-07-30 20:50:25 +00:00
|
|
|
if(DEFINED LIBSIGMF_DEPENDS)
|
|
|
|
add_dependencies(sdrbase "${LIBSIGMF_DEPENDS}")
|
|
|
|
endif()
|
|
|
|
|
2023-08-13 22:52:57 +00:00
|
|
|
if(Vulkan_FOUND AND (${VKFFT_BACKEND} EQUAL 0))
|
|
|
|
target_compile_definitions(sdrbase PUBLIC -DVK_API_VERSION=11)
|
|
|
|
target_include_directories(sdrbase PUBLIC ${Vulkan_INCLUDE_DIR} ${Vulkan_INCLUDE_DIR}/glslang/Include)
|
|
|
|
add_compile_definitions(sdrbase VKFFT_BACKEND=0)
|
|
|
|
|
|
|
|
find_library(VULKAN_SPIRV_LIB SPIRV HINTS "$ENV{VULKAN_SDK}/lib" REQUIRED)
|
|
|
|
find_library(VULKAN_SPVREMAPPER_LIB SPVRemapper HINTS "$ENV{VULKAN_SDK}/lib" REQUIRED)
|
|
|
|
find_library(VULKAN_SPIRV_TOOLS_LIB SPIRV-Tools HINTS "$ENV{VULKAN_SDK}/lib" REQUIRED)
|
2023-08-14 09:37:27 +00:00
|
|
|
find_library(VULKAN_SPIRV_TOOLS_OPT_LIB SPIRV-Tools-opt HINTS "$ENV{VULKAN_SDK}/lib" REQUIRED)
|
|
|
|
find_library(VULKAN_SPIRV_TOOLS_SHARED_LIB SPIRV-Tools-shared HINTS "$ENV{VULKAN_SDK}/lib" REQUIRED)
|
2023-08-13 22:52:57 +00:00
|
|
|
find_library(VULKAN_HLSL_LIB HLSL HINTS "$ENV{VULKAN_SDK}/lib" REQUIRED)
|
|
|
|
find_library(VULKAN_OGLCOMPILER_LIB OGLCompiler HINTS "$ENV{VULKAN_SDK}/lib" REQUIRED)
|
|
|
|
find_library(VULKAN_OSDEPENDENT_LIB OSDependent HINTS "$ENV{VULKAN_SDK}/lib" REQUIRED)
|
|
|
|
find_library(VULKAN_GLSLANG_LIB glslang HINTS "$ENV{VULKAN_SDK}/lib" REQUIRED)
|
|
|
|
find_library(VULKAN_GLSLANG_RES_LIB glslang-default-resource-limits HINTS "$ENV{VULKAN_SDK}/lib" REQUIRED)
|
|
|
|
find_library(VULKAN_MACHINEINDEPENDENT_LIB MachineIndependent HINTS "$ENV{VULKAN_SDK}/lib" REQUIRED)
|
|
|
|
find_library(VULKAN_GENERICCODEGEN_LIB GenericCodeGen HINTS "$ENV{VULKAN_SDK}/lib" REQUIRED)
|
|
|
|
|
2023-08-14 09:37:27 +00:00
|
|
|
if(MSVC)
|
|
|
|
set(VULKAN_DEBUG_POSTFIX "d")
|
|
|
|
else()
|
|
|
|
set(VULKAN_DEBUG_POSTFIX "")
|
|
|
|
endif()
|
|
|
|
find_library(VULKAN_SPIRVD_LIB SPIRV${VULKAN_DEBUG_POSTFIX} HINTS "$ENV{VULKAN_SDK}/lib" REQUIRED)
|
|
|
|
find_library(VULKAN_SPVREMAPPERD_LIB SPVRemapper${VULKAN_DEBUG_POSTFIX} HINTS "$ENV{VULKAN_SDK}/lib" REQUIRED)
|
|
|
|
find_library(VULKAN_SPIRV_TOOLSD_LIB SPIRV-Tools${VULKAN_DEBUG_POSTFIX} HINTS "$ENV{VULKAN_SDK}/lib" REQUIRED)
|
|
|
|
find_library(VULKAN_SPIRV_TOOLS_OPTD_LIB SPIRV-Tools-opt${VULKAN_DEBUG_POSTFIX} HINTS "$ENV{VULKAN_SDK}/lib" REQUIRED)
|
|
|
|
find_library(VULKAN_SPIRV_TOOLS_SHAREDD_LIB SPIRV-Tools-shared${VULKAN_DEBUG_POSTFIX} HINTS "$ENV{VULKAN_SDK}/lib" REQUIRED)
|
|
|
|
find_library(VULKAN_HLSLD_LIB HLSL${VULKAN_DEBUG_POSTFIX} HINTS "$ENV{VULKAN_SDK}/lib" REQUIRED)
|
|
|
|
find_library(VULKAN_OGLCOMPILERD_LIB OGLCompiler${VULKAN_DEBUG_POSTFIX} HINTS "$ENV{VULKAN_SDK}/lib" REQUIRED)
|
|
|
|
find_library(VULKAN_OSDEPENDENTD_LIB OSDependent${VULKAN_DEBUG_POSTFIX} HINTS "$ENV{VULKAN_SDK}/lib" REQUIRED)
|
|
|
|
find_library(VULKAN_GLSLANGD_LIB glslang${VULKAN_DEBUG_POSTFIX} HINTS "$ENV{VULKAN_SDK}/lib" REQUIRED)
|
|
|
|
find_library(VULKAN_GLSLANG_RESD_LIB glslang-default-resource-limits${VULKAN_DEBUG_POSTFIX} HINTS "$ENV{VULKAN_SDK}/lib" REQUIRED)
|
|
|
|
find_library(VULKAN_MACHINEINDEPENDENTD_LIB MachineIndependent${VULKAN_DEBUG_POSTFIX} HINTS "$ENV{VULKAN_SDK}/lib" REQUIRED)
|
|
|
|
find_library(VULKAN_GENERICCODEGEND_LIB GenericCodeGen${VULKAN_DEBUG_POSTFIX} HINTS "$ENV{VULKAN_SDK}/lib" REQUIRED)
|
2023-08-13 22:52:57 +00:00
|
|
|
|
|
|
|
target_link_libraries(sdrbase
|
|
|
|
optimized ${VULKAN_SPIRV_LIB}
|
|
|
|
optimized ${VULKAN_SPVREMAPPER_LIB}
|
|
|
|
optimized ${VULKAN_SPIRV_TOOLS_LIB}
|
|
|
|
optimized ${VULKAN_SPIRV_TOOLS_OPT_LIB}
|
|
|
|
optimized ${VULKAN_SPIRV_TOOLS_SHARED_LIB}
|
|
|
|
optimized ${VULKAN_HLSL_LIB}
|
|
|
|
optimized ${VULKAN_OGLCOMPILER_LIB}
|
|
|
|
optimized ${VULKAN_OSDEPENDENT_LIB}
|
|
|
|
optimized ${VULKAN_GLSLANG_LIB}
|
|
|
|
optimized ${VULKAN_GLSLANG_RES_LIB}
|
|
|
|
optimized ${VULKAN_MACHINEINDEPENDENT_LIB}
|
|
|
|
optimized ${VULKAN_GENERICCODEGEN_LIB}
|
|
|
|
optimized Vulkan::Vulkan
|
|
|
|
debug ${VULKAN_SPIRVD_LIB}
|
|
|
|
debug ${VULKAN_SPVREMAPPERD_LIB}
|
|
|
|
debug ${VULKAN_SPIRV_TOOLSD_LIB}
|
|
|
|
debug ${VULKAN_SPIRV_TOOLS_OPTD_LIB}
|
|
|
|
debug ${VULKAN_SPIRV_TOOLS_SHAREDD_LIB}
|
|
|
|
debug ${VULKAN_HLSLD_LIB}
|
|
|
|
debug ${VULKAN_OGLCOMPILERD_LIB}
|
|
|
|
debug ${VULKAN_OSDEPENDENTD_LIB}
|
|
|
|
debug ${VULKAN_GLSLANGD_LIB}
|
|
|
|
debug ${VULKAN_GLSLANG_RESD_LIB}
|
|
|
|
debug ${VULKAN_MACHINEINDEPENDENTD_LIB}
|
|
|
|
debug ${VULKAN_GENERICCODEGEND_LIB}
|
2023-08-14 09:37:27 +00:00
|
|
|
debug Vulkan::Vulkan
|
2023-08-13 22:52:57 +00:00
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if(CUDA_FOUND AND (${VKFFT_BACKEND} EQUAL 1))
|
|
|
|
set_property(TARGET sdrbase PROPERTY CUDA_ARCHITECTURES 60 70 75 80 86)
|
|
|
|
add_compile_definitions(sdrbase VKFFT_BACKEND=1)
|
|
|
|
target_compile_options(sdrbase PUBLIC
|
|
|
|
"$<$<COMPILE_LANGUAGE:CUDA>:SHELL:
|
|
|
|
-DVKFFT_BACKEND=1
|
|
|
|
-gencode arch=compute_60,code=compute_60
|
|
|
|
-gencode arch=compute_70,code=compute_70
|
|
|
|
-gencode arch=compute_75,code=compute_75
|
|
|
|
-gencode arch=compute_80,code=compute_80
|
|
|
|
-gencode arch=compute_86,code=compute_86>")
|
|
|
|
set_target_properties(sdrbase PROPERTIES CUDA_SEPARABLE_COMPILATION ON)
|
|
|
|
set_target_properties(sdrbase PROPERTIES CUDA_RESOLVE_DEVICE_SYMBOLS ON)
|
|
|
|
find_library(CUDA_NVRTC_LIB libnvrtc nvrtc HINTS "${CUDA_TOOLKIT_ROOT_DIR}/lib64" "${LIBNVRTC_LIBRARY_DIR}" "${CUDA_TOOLKIT_ROOT_DIR}/lib/x64" /usr/lib64 /usr/local/cuda/lib64 REQUIRED)
|
|
|
|
find_library(CUDA_LIB cuda HINTS "${CUDA_TOOLKIT_ROOT_DIR}/lib64" "${LIBNVRTC_LIBRARY_DIR}" "${CUDA_TOOLKIT_ROOT_DIR}/lib/x64" /usr/lib64 /usr/local/cuda/lib64 REQUIRED)
|
|
|
|
target_link_libraries(sdrbase ${CUDA_LIBRARIES} ${CUDA_LIB} ${CUDA_NVRTC_LIB})
|
|
|
|
target_include_directories(sdrbase PUBLIC ${CUDA_INCLUDE_DIRS})
|
|
|
|
endif()
|
|
|
|
|
2017-10-22 10:01:04 +00:00
|
|
|
target_link_libraries(sdrbase
|
2019-05-01 09:54:58 +00:00
|
|
|
${OPUS_LIBRARIES}
|
|
|
|
${sdrbase_FFTW3F_LIB}
|
|
|
|
${sdrbase_SERIALDV_LIB}
|
2020-01-12 00:10:51 +00:00
|
|
|
${sdrbase_LIMERFE_LIB}
|
2020-11-10 01:09:21 +00:00
|
|
|
${sdrbase_LIBSIGMF_LIB}
|
2022-11-17 14:34:54 +00:00
|
|
|
Qt::Core
|
|
|
|
Qt::Multimedia
|
|
|
|
Qt::WebSockets
|
2022-12-20 21:06:39 +00:00
|
|
|
Qt::Positioning
|
2017-11-17 02:17:15 +00:00
|
|
|
httpserver
|
2020-10-09 06:52:30 +00:00
|
|
|
logging
|
2018-03-06 01:23:47 +00:00
|
|
|
qrtplib
|
2017-11-18 18:34:47 +00:00
|
|
|
swagger
|
2017-10-22 10:01:04 +00:00
|
|
|
)
|
2023-05-26 07:28:12 +00:00
|
|
|
if (LIBSIGMF_FOUND)
|
2023-05-26 14:47:52 +00:00
|
|
|
if(WIN32)
|
|
|
|
target_link_libraries(sdrbase optimized ${LIBSIGMF_LIBRARIES})
|
|
|
|
target_link_libraries(sdrbase debug ${LIBSIGMF_LIBRARIES_DEBUG})
|
|
|
|
else()
|
|
|
|
target_link_libraries(sdrbase ${LIBSIGMF_LIBRARIES})
|
|
|
|
endif()
|
2023-05-26 07:28:12 +00:00
|
|
|
endif()
|
2022-11-17 14:34:54 +00:00
|
|
|
if (Qt6_FOUND)
|
|
|
|
target_link_libraries(sdrbase
|
|
|
|
Qt::Core5Compat
|
2022-12-20 21:06:39 +00:00
|
|
|
Qt::CorePrivate
|
2022-11-17 14:34:54 +00:00
|
|
|
)
|
|
|
|
endif()
|
2022-12-20 21:06:39 +00:00
|
|
|
if(ANDROID AND NOT ENABLE_QT6)
|
|
|
|
target_link_libraries(sdrbase Qt::AndroidExtras)
|
|
|
|
endif()
|
|
|
|
if(ANDROID)
|
|
|
|
target_link_libraries(sdrbase log)
|
|
|
|
endif()
|
2017-10-22 10:01:04 +00:00
|
|
|
|
2019-05-01 09:54:58 +00:00
|
|
|
install(TARGETS sdrbase DESTINATION ${INSTALL_LIB_DIR})
|
2022-02-06 12:56:58 +00:00
|
|
|
|
2022-11-17 14:34:54 +00:00
|
|
|
if(WIN32 AND Qt6_FOUND)
|
|
|
|
# Run deployqt for Core5Compat
|
|
|
|
include(DeployQt)
|
|
|
|
windeployqt(sdrbase ${SDRANGEL_BINARY_BIN_DIR} "")
|
|
|
|
endif()
|
|
|
|
|
2022-02-06 12:56:58 +00:00
|
|
|
# Install debug symbols
|
|
|
|
if (WIN32)
|
|
|
|
install(FILES $<TARGET_PDB_FILE:sdrbase> CONFIGURATIONS Debug RelWithDebInfo DESTINATION ${INSTALL_LIB_DIR} )
|
|
|
|
endif()
|