1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-25 01:18:38 -05:00

Display message if channelrx plugin not built. Add heatmap flag.

This commit is contained in:
Jon Beniston 2023-07-29 12:33:38 +01:00
parent 686e517af9
commit 0fb960133a
2 changed files with 76 additions and 1 deletions

View File

@ -85,6 +85,7 @@ option(ENABLE_CHANNELRX_DEMODNAVTEX "Enable channelrx demodnavtex plugin" ON)
option(ENABLE_CHANNELRX_DEMODRTTY "Enable channelrx demodrtty plugin" ON) option(ENABLE_CHANNELRX_DEMODRTTY "Enable channelrx demodrtty plugin" ON)
option(ENABLE_CHANNELRX_DEMODILS "Enable channelrx demodils plugin" ON) option(ENABLE_CHANNELRX_DEMODILS "Enable channelrx demodils plugin" ON)
option(ENABLE_CHANNELRX_DEMODDSC "Enable channelrx demoddsc plugin" ON) option(ENABLE_CHANNELRX_DEMODDSC "Enable channelrx demoddsc plugin" ON)
option(ENABLE_CHANNELRX_HEATMAP "Enable channelrx heatmap plugin" ON)
# Channel Tx enablers # Channel Tx enablers
option(ENABLE_CHANNELTX "Enable channeltx plugins" ON) option(ENABLE_CHANNELTX "Enable channeltx plugins" ON)

View File

@ -3,141 +3,213 @@ project(demod)
if (ENABLE_CHANNELRX_DEMODADSB AND Qt${QT_DEFAULT_MAJOR_VERSION}Quick_FOUND AND Qt${QT_DEFAULT_MAJOR_VERSION}QuickWidgets_FOUND AND Qt${QT_DEFAULT_MAJOR_VERSION}Positioning_FOUND AND Qt${QT_DEFAULT_MAJOR_VERSION}TextToSpeech_FOUND) if (ENABLE_CHANNELRX_DEMODADSB AND Qt${QT_DEFAULT_MAJOR_VERSION}Quick_FOUND AND Qt${QT_DEFAULT_MAJOR_VERSION}QuickWidgets_FOUND AND Qt${QT_DEFAULT_MAJOR_VERSION}Positioning_FOUND AND Qt${QT_DEFAULT_MAJOR_VERSION}TextToSpeech_FOUND)
add_subdirectory(demodadsb) add_subdirectory(demodadsb)
# add_subdirectory(demodvormc) # add_subdirectory(demodvormc)
else()
message(STATUS "Not building demodadsb (ENABLE_CHANNELRX_DEMODADSB=${ENABLE_CHANNELRX_DEMODADSB} Qt${QT_DEFAULT_MAJOR_VERSION}Quick_FOUND=${Qt${QT_DEFAULT_MAJOR_VERSION}Quick_FOUND} Qt${QT_DEFAULT_MAJOR_VERSION}QuickWidgets_FOUND=${Qt${QT_DEFAULT_MAJOR_VERSION}QuickWidgets_FOUND} Qt${QT_DEFAULT_MAJOR_VERSION}Positioning_FOUND=${Qt${QT_DEFAULT_MAJOR_VERSION}Positioning_FOUND} Qt${QT_DEFAULT_MAJOR_VERSION}TextToSpeech_FOUND=${Qt${QT_DEFAULT_MAJOR_VERSION}TextToSpeech_FOUND})")
endif() endif()
if (ENABLE_CHANNELRX_DEMODAM) if (ENABLE_CHANNELRX_DEMODAM)
add_subdirectory(demodam) add_subdirectory(demodam)
else()
message(STATUS "Not building demodam (ENABLE_CHANNELRX_DEMODAM=${ENABLE_CHANNELRX_DEMODAM})")
endif() endif()
if (ENABLE_CHANNELRX_DEMODBFM) if (ENABLE_CHANNELRX_DEMODBFM)
add_subdirectory(demodbfm) add_subdirectory(demodbfm)
else()
message(STATUS "Not building demodbfm (ENABLE_CHANNELRX_DEMODBFM=${ENABLE_CHANNELRX_DEMODBFM})")
endif() endif()
if (ENABLE_CHANNELRX_DEMODNFM) if (ENABLE_CHANNELRX_DEMODNFM)
add_subdirectory(demodnfm) add_subdirectory(demodnfm)
else()
message(STATUS "Not building demodnfm (ENABLE_CHANNELRX_DEMODNFM=${ENABLE_CHANNELRX_DEMODNFM})")
endif() endif()
if (ENABLE_CHANNELRX_DEMODSSB) if (ENABLE_CHANNELRX_DEMODSSB)
add_subdirectory(demodssb) add_subdirectory(demodssb)
else()
message(STATUS "Not building demodssb (ENABLE_CHANNELRX_DEMODSSB=${ENABLE_CHANNELRX_DEMODSSB})")
endif() endif()
if (ENABLE_CHANNELRX_UDPSINK) if (ENABLE_CHANNELRX_UDPSINK)
add_subdirectory(udpsink) add_subdirectory(udpsink)
else()
message(STATUS "Not building udpsink (ENABLE_CHANNELRX_UDPSINK=${ENABLE_CHANNELRX_UDPSINK})")
endif() endif()
if (ENABLE_CHANNELRX_DEMODWFM) if (ENABLE_CHANNELRX_DEMODWFM)
add_subdirectory(demodwfm) add_subdirectory(demodwfm)
else()
message(STATUS "Not building demodwfm (ENABLE_CHANNELRX_DEMODWFM=${ENABLE_CHANNELRX_DEMODWFM})")
endif() endif()
if (ENABLE_CHANNELRX_LOCALSINK) if (ENABLE_CHANNELRX_LOCALSINK)
add_subdirectory(localsink) add_subdirectory(localsink)
else()
message(STATUS "Not building localsink (ENABLE_CHANNELRX_LOCALSINK=${ENABLE_CHANNELRX_LOCALSINK})")
endif() endif()
if (ENABLE_CHANNELRX_FILESINK) if (ENABLE_CHANNELRX_FILESINK)
add_subdirectory(filesink) add_subdirectory(filesink)
else()
message(STATUS "Not building filesink (ENABLE_CHANNELRX_FILESINK=${ENABLE_CHANNELRX_FILESINK})")
endif() endif()
if (ENABLE_CHANNELRX_FREQTRACKER) if (ENABLE_CHANNELRX_FREQTRACKER)
add_subdirectory(freqtracker) add_subdirectory(freqtracker)
else()
message(STATUS "Not building freqtracker (ENABLE_CHANNELRX_FREQTRACKER=${ENABLE_CHANNELRX_FREQTRACKER})")
endif() endif()
if (ENABLE_CHANNELRX_DEMODCHIRPCHAT) if (ENABLE_CHANNELRX_DEMODCHIRPCHAT)
add_subdirectory(demodchirpchat) add_subdirectory(demodchirpchat)
else()
message(STATUS "Not building demodchirpchat (ENABLE_CHANNELRX_DEMODCHIRPCHAT=${ENABLE_CHANNELRX_DEMODCHIRPCHAT})")
endif() endif()
if (ENABLE_CHANNELRX_DEMODVOR) if (ENABLE_CHANNELRX_DEMODVOR)
add_subdirectory(demodvor) add_subdirectory(demodvor)
else()
message(STATUS "Not building demodvor (ENABLE_CHANNELRX_DEMODVOR=${ENABLE_CHANNELRX_DEMODVOR})")
endif() endif()
if (ENABLE_CHANNELRX_DEMODPACKET) if (ENABLE_CHANNELRX_DEMODPACKET)
add_subdirectory(demodpacket) add_subdirectory(demodpacket)
else()
message(STATUS "Not building demodpacket (ENABLE_CHANNELRX_DEMODPACKET=${ENABLE_CHANNELRX_DEMODPACKET})")
endif() endif()
if (ENABLE_CHANNELRX_DEMODAIS) if (ENABLE_CHANNELRX_DEMODAIS)
add_subdirectory(demodais) add_subdirectory(demodais)
else()
message(STATUS "Not building demodais (ENABLE_CHANNELRX_DEMODAIS=${ENABLE_CHANNELRX_DEMODAIS})")
endif() endif()
if (ENABLE_CHANNELRX_DEMODPAGER) if (ENABLE_CHANNELRX_DEMODPAGER)
add_subdirectory(demodpager) add_subdirectory(demodpager)
else()
message(STATUS "Not building demodpager (ENABLE_CHANNELRX_DEMODPAGER=${ENABLE_CHANNELRX_DEMODPAGER})")
endif() endif()
if (ENABLE_CHANNELRX_RADIOCLOCK) if (ENABLE_CHANNELRX_RADIOCLOCK)
add_subdirectory(radioclock) add_subdirectory(radioclock)
else()
message(STATUS "Not building radioclock (ENABLE_CHANNELRX_RADIOCLOCK=${ENABLE_CHANNELRX_RADIOCLOCK})")
endif() endif()
if (ENABLE_CHANNELRX_RADIOASTRONOMY) if (ENABLE_CHANNELRX_RADIOASTRONOMY)
add_subdirectory(radioastronomy) add_subdirectory(radioastronomy)
else()
message(STATUS "Not building radioastronomy (ENABLE_CHANNELRX_RADIOASTRONOMY=${ENABLE_CHANNELRX_RADIOASTRONOMY})")
endif() endif()
if (ENABLE_CHANNELRX_DEMODRADIOSONDE) if (ENABLE_CHANNELRX_DEMODRADIOSONDE)
add_subdirectory(demodradiosonde) add_subdirectory(demodradiosonde)
else()
message(STATUS "Not building demodradiosonde (ENABLE_CHANNELRX_DEMODRADIOSONDE=${ENABLE_CHANNELRX_DEMODRADIOSONDE})")
endif() endif()
if(ENABLE_CHANNELRX_DEMODDAB AND DAB_FOUND AND ZLIB_FOUND AND FAAD_FOUND) if(ENABLE_CHANNELRX_DEMODDAB AND DAB_FOUND AND ZLIB_FOUND AND FAAD_FOUND)
add_subdirectory(demoddab) add_subdirectory(demoddab)
else()
message(STATUS "Not building demoddab (ENABLE_CHANNELRX_DEMODDAB=${ENABLE_CHANNELRX_DEMODDAB} DAB_FOUND=${DAB_FOUND} ZLIB_FOUND=${ZLIB_FOUND} FAAD_FOUND=${FAAD_FOUND})")
endif() endif()
if(ENABLE_CHANNELRX_DEMODAPT AND APT_FOUND AND SGP4_FOUND) if(ENABLE_CHANNELRX_DEMODAPT AND APT_FOUND AND SGP4_FOUND)
add_subdirectory(demodapt) add_subdirectory(demodapt)
else()
message(STATUS "Not building demodapt (ENABLE_CHANNELRX_DEMODAPT=${ENABLE_CHANNELRX_DEMODAPT} APT_FOUND=${APT_FOUND} SGP4_FOUND=${SGP4_FOUND})")
endif() endif()
if(ENABLE_CHANNELRX_DEMODDSD AND LIBDSDCC_FOUND AND LIBMBE_FOUND) if(ENABLE_CHANNELRX_DEMODDSD AND LIBDSDCC_FOUND AND LIBMBE_FOUND)
add_subdirectory(demoddsd) add_subdirectory(demoddsd)
else()
message(STATUS "Not building demoddsd (ENABLE_CHANNELRX_DEMODDSD=${ENABLE_CHANNELRX_DEMODDSD} LIBDSDCC_FOUND=${LIBDSDCC_FOUND} LIBMBE_FOUND=${LIBMBE_FOUND})")
endif() endif()
if (ENABLE_CHANNELRX_REMOTESINK AND CM256CC_FOUND AND (HAS_SSE3 OR HAS_NEON)) if (ENABLE_CHANNELRX_REMOTESINK AND CM256CC_FOUND AND (HAS_SSE3 OR HAS_NEON))
add_subdirectory(remotesink) add_subdirectory(remotesink)
else()
message(STATUS "Not building remotesink (ENABLE_CHANNELRX_REMOTESINK=${ENABLE_CHANNELRX_REMOTESINK} CM256CC_FOUND=${CM256CC_FOUND} HAS_SSE3=${HAS_SSE3} HAS_NEON=${HAS_NEON})")
endif() endif()
if (ENABLE_CHANNELRX_REMOTETCPSINK) if (ENABLE_CHANNELRX_REMOTETCPSINK)
add_subdirectory(remotetcpsink) add_subdirectory(remotetcpsink)
else()
message(STATUS "Not building remotetcpsink (ENABLE_CHANNELRX_REMOTETCPSINK=${ENABLE_CHANNELRX_REMOTETCPSINK})")
endif() endif()
if (ENABLE_CHANNELRX_DEMODFREEDV AND CODEC2_FOUND) if (ENABLE_CHANNELRX_DEMODFREEDV AND CODEC2_FOUND)
add_subdirectory(demodfreedv) add_subdirectory(demodfreedv)
else()
message(STATUS "Not building demodfreedv (ENABLE_CHANNELRX_DEMODFREEDV=${ENABLE_CHANNELRX_DEMODFREEDV} CODEC2_FOUND=${CODEC2_FOUND})")
endif() endif()
if (ENABLE_CHANNELRX_DEMODM17 AND CODEC2_FOUND) if (ENABLE_CHANNELRX_DEMODM17 AND CODEC2_FOUND)
add_subdirectory(demodm17) add_subdirectory(demodm17)
else()
message(STATUS "Not building demodm17 (ENABLE_CHANNELRX_DEMODFREEDV=${ENABLE_CHANNELRX_DEMODM17} CODEC2_FOUND=${CODEC2_FOUND})")
endif() endif()
if (ENABLE_CHANNELRX_SIGMFFILESINK AND LIBSIGMF_FOUND) if (ENABLE_CHANNELRX_SIGMFFILESINK AND LIBSIGMF_FOUND)
add_subdirectory(sigmffilesink) add_subdirectory(sigmffilesink)
else()
message(STATUS "Not building sigmffilesink (ENABLE_CHANNELRX_SIGMFFILESINK=${ENABLE_CHANNELRX_SIGMFFILESINK} LIBSIGMF_FOUND=${LIBSIGMF_FOUND})")
endif() endif()
if (ENABLE_CHANNELRX_NOISEFIGURE AND Boost_FOUND AND Boost_VERSION_STRING VERSION_GREATER_EQUAL "1.70.0") if (ENABLE_CHANNELRX_NOISEFIGURE AND Boost_FOUND AND Boost_VERSION_STRING VERSION_GREATER_EQUAL "1.70.0")
add_subdirectory(noisefigure) add_subdirectory(noisefigure)
else()
message(STATUS "Not building noisefigure (ENABLE_CHANNELRX_NOISEFIGURE=${ENABLE_CHANNELRX_NOISEFIGURE} Boost_FOUND=${Boost_FOUND} Boost_VERSION_STRING=${Boost_VERSION_STRING})")
endif() endif()
if (ENABLE_CHANNELRX_DEMODFT8 AND FT8_SUPPORT) if (ENABLE_CHANNELRX_DEMODFT8 AND FT8_SUPPORT)
add_subdirectory(demodft8) add_subdirectory(demodft8)
else()
message(STATUS "Not building demodft8 (ENABLE_CHANNELRX_DEMODFT8=${ENABLE_CHANNELRX_DEMODFT8} FT8_SUPPORT=${FT8_SUPPORT})")
endif() endif()
if (ENABLE_CHANNELRX_DEMODNAVTEX) if (ENABLE_CHANNELRX_DEMODNAVTEX)
add_subdirectory(demodnavtex) add_subdirectory(demodnavtex)
else()
message(STATUS "Not building demodnavtex (ENABLE_CHANNELRX_DEMODNAVTEX=${ENABLE_CHANNELRX_DEMODNAVTEX})")
endif() endif()
if (ENABLE_CHANNELRX_DEMODRTTY) if (ENABLE_CHANNELRX_DEMODRTTY)
add_subdirectory(demodrtty) add_subdirectory(demodrtty)
else()
message(STATUS "Not building demodrtty (ENABLE_CHANNELRX_DEMODRTTY=${ENABLE_CHANNELRX_DEMODRTTY})")
endif() endif()
if (ENABLE_CHANNELRX_DEMODILS) if (ENABLE_CHANNELRX_DEMODILS)
add_subdirectory(demodils) add_subdirectory(demodils)
else()
message(STATUS "Not building demodils (ENABLE_CHANNELRX_DEMODILS=${ENABLE_CHANNELRX_DEMODILS})")
endif() endif()
if (ENABLE_CHANNELRX_DEMODDSC) if (ENABLE_CHANNELRX_DEMODDSC)
add_subdirectory(demoddsc) add_subdirectory(demoddsc)
else()
message(STATUS "Not building demoddsc (ENABLE_CHANNELRX_DEMODDSC=${ENABLE_CHANNELRX_DEMODDSC})")
endif() endif()
if(NOT SERVER_MODE) if(NOT SERVER_MODE)
add_subdirectory(heatmap) if (ENABLE_CHANNELRX_HEATMAP)
add_subdirectory(heatmap)
else()
message(STATUS "Not building heatmap (ENABLE_CHANNELRX_HEATMAP=${ENABLE_CHANNELRX_HEATMAP})")
endif()
if (ENABLE_CHANNELRX_CHANALYZER) if (ENABLE_CHANNELRX_CHANALYZER)
add_subdirectory(chanalyzer) add_subdirectory(chanalyzer)
else()
message(STATUS "Not building chanalyzer (ENABLE_CHANNELRX_CHANALYZER=${ENABLE_CHANNELRX_CHANALYZER})")
endif() endif()
if (ENABLE_CHANNELRX_DEMODATV) if (ENABLE_CHANNELRX_DEMODATV)
add_subdirectory(demodatv) add_subdirectory(demodatv)
else()
message(STATUS "Not building demodatv (ENABLE_CHANNELRX_DEMODATV=${ENABLE_CHANNELRX_DEMODATV})")
endif() endif()
# need ffmpeg 3.1 that correstonds to # need ffmpeg 3.1 that correstonds to
@ -157,5 +229,7 @@ if(NOT SERVER_MODE)
message(STATUS "FFmpeg too old to compile demoddatv; needs at least avutil: 55.27.100, avcodec/avformat: 57.48.101") message(STATUS "FFmpeg too old to compile demoddatv; needs at least avutil: 55.27.100, avcodec/avformat: 57.48.101")
endif() endif()
endif() endif()
else()
message(STATUS "Not building demoddatv (ENABLE_CHANNELRX_DEMODDATV=${ENABLE_CHANNELRX_DEMODDATV} FFMPEG_FOUND=${FFMPEG_FOUND})")
endif() endif()
endif() endif()