2014-05-18 15:52:39 +00:00
|
|
|
project(demod)
|
|
|
|
|
2023-09-28 17:23:15 +00:00
|
|
|
if (ENABLE_CHANNELRX_FREQSCANNER)
|
|
|
|
add_subdirectory(freqscanner)
|
|
|
|
endif()
|
|
|
|
|
2022-11-17 23:26:54 +00:00
|
|
|
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)
|
2020-10-27 16:22:10 +00:00
|
|
|
add_subdirectory(demodadsb)
|
2022-05-01 21:33:12 +00:00
|
|
|
# add_subdirectory(demodvormc)
|
2023-07-29 11:33:38 +00:00
|
|
|
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})")
|
2020-10-27 16:22:10 +00:00
|
|
|
endif()
|
2020-11-28 06:14:06 +00:00
|
|
|
|
2022-06-25 09:56:45 +00:00
|
|
|
if (ENABLE_CHANNELRX_DEMODAM)
|
|
|
|
add_subdirectory(demodam)
|
2023-07-29 11:33:38 +00:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building demodam (ENABLE_CHANNELRX_DEMODAM=${ENABLE_CHANNELRX_DEMODAM})")
|
2022-06-25 09:56:45 +00:00
|
|
|
endif()
|
|
|
|
|
|
|
|
if (ENABLE_CHANNELRX_DEMODBFM)
|
|
|
|
add_subdirectory(demodbfm)
|
2023-07-29 11:33:38 +00:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building demodbfm (ENABLE_CHANNELRX_DEMODBFM=${ENABLE_CHANNELRX_DEMODBFM})")
|
2022-06-25 09:56:45 +00:00
|
|
|
endif()
|
|
|
|
|
|
|
|
if (ENABLE_CHANNELRX_DEMODNFM)
|
|
|
|
add_subdirectory(demodnfm)
|
2023-07-29 11:33:38 +00:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building demodnfm (ENABLE_CHANNELRX_DEMODNFM=${ENABLE_CHANNELRX_DEMODNFM})")
|
2022-06-25 09:56:45 +00:00
|
|
|
endif()
|
|
|
|
|
|
|
|
if (ENABLE_CHANNELRX_DEMODSSB)
|
|
|
|
add_subdirectory(demodssb)
|
2023-07-29 11:33:38 +00:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building demodssb (ENABLE_CHANNELRX_DEMODSSB=${ENABLE_CHANNELRX_DEMODSSB})")
|
2022-06-25 09:56:45 +00:00
|
|
|
endif()
|
|
|
|
|
|
|
|
if (ENABLE_CHANNELRX_UDPSINK)
|
|
|
|
add_subdirectory(udpsink)
|
2023-07-29 11:33:38 +00:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building udpsink (ENABLE_CHANNELRX_UDPSINK=${ENABLE_CHANNELRX_UDPSINK})")
|
2022-06-25 09:56:45 +00:00
|
|
|
endif()
|
|
|
|
|
|
|
|
if (ENABLE_CHANNELRX_DEMODWFM)
|
|
|
|
add_subdirectory(demodwfm)
|
2023-07-29 11:33:38 +00:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building demodwfm (ENABLE_CHANNELRX_DEMODWFM=${ENABLE_CHANNELRX_DEMODWFM})")
|
2022-06-25 09:56:45 +00:00
|
|
|
endif()
|
|
|
|
|
|
|
|
if (ENABLE_CHANNELRX_LOCALSINK)
|
|
|
|
add_subdirectory(localsink)
|
2023-07-29 11:33:38 +00:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building localsink (ENABLE_CHANNELRX_LOCALSINK=${ENABLE_CHANNELRX_LOCALSINK})")
|
2022-06-25 09:56:45 +00:00
|
|
|
endif()
|
|
|
|
|
|
|
|
if (ENABLE_CHANNELRX_FILESINK)
|
|
|
|
add_subdirectory(filesink)
|
2023-07-29 11:33:38 +00:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building filesink (ENABLE_CHANNELRX_FILESINK=${ENABLE_CHANNELRX_FILESINK})")
|
2022-06-25 09:56:45 +00:00
|
|
|
endif()
|
|
|
|
|
|
|
|
if (ENABLE_CHANNELRX_FREQTRACKER)
|
|
|
|
add_subdirectory(freqtracker)
|
2023-07-29 11:33:38 +00:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building freqtracker (ENABLE_CHANNELRX_FREQTRACKER=${ENABLE_CHANNELRX_FREQTRACKER})")
|
2022-06-25 09:56:45 +00:00
|
|
|
endif()
|
|
|
|
|
|
|
|
if (ENABLE_CHANNELRX_DEMODCHIRPCHAT)
|
|
|
|
add_subdirectory(demodchirpchat)
|
2023-07-29 11:33:38 +00:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building demodchirpchat (ENABLE_CHANNELRX_DEMODCHIRPCHAT=${ENABLE_CHANNELRX_DEMODCHIRPCHAT})")
|
2022-06-25 09:56:45 +00:00
|
|
|
endif()
|
|
|
|
|
|
|
|
if (ENABLE_CHANNELRX_DEMODVOR)
|
|
|
|
add_subdirectory(demodvor)
|
2023-07-29 11:33:38 +00:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building demodvor (ENABLE_CHANNELRX_DEMODVOR=${ENABLE_CHANNELRX_DEMODVOR})")
|
2022-06-25 09:56:45 +00:00
|
|
|
endif()
|
|
|
|
|
|
|
|
if (ENABLE_CHANNELRX_DEMODPACKET)
|
|
|
|
add_subdirectory(demodpacket)
|
2023-07-29 11:33:38 +00:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building demodpacket (ENABLE_CHANNELRX_DEMODPACKET=${ENABLE_CHANNELRX_DEMODPACKET})")
|
2022-06-25 09:56:45 +00:00
|
|
|
endif()
|
|
|
|
|
|
|
|
if (ENABLE_CHANNELRX_DEMODAIS)
|
|
|
|
add_subdirectory(demodais)
|
2023-07-29 11:33:38 +00:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building demodais (ENABLE_CHANNELRX_DEMODAIS=${ENABLE_CHANNELRX_DEMODAIS})")
|
2022-06-25 09:56:45 +00:00
|
|
|
endif()
|
|
|
|
|
|
|
|
if (ENABLE_CHANNELRX_DEMODPAGER)
|
|
|
|
add_subdirectory(demodpager)
|
2023-07-29 11:33:38 +00:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building demodpager (ENABLE_CHANNELRX_DEMODPAGER=${ENABLE_CHANNELRX_DEMODPAGER})")
|
2022-06-25 09:56:45 +00:00
|
|
|
endif()
|
|
|
|
|
|
|
|
if (ENABLE_CHANNELRX_RADIOCLOCK)
|
|
|
|
add_subdirectory(radioclock)
|
2023-07-29 11:33:38 +00:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building radioclock (ENABLE_CHANNELRX_RADIOCLOCK=${ENABLE_CHANNELRX_RADIOCLOCK})")
|
2022-06-25 09:56:45 +00:00
|
|
|
endif()
|
|
|
|
|
|
|
|
if (ENABLE_CHANNELRX_RADIOASTRONOMY)
|
|
|
|
add_subdirectory(radioastronomy)
|
2023-07-29 11:33:38 +00:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building radioastronomy (ENABLE_CHANNELRX_RADIOASTRONOMY=${ENABLE_CHANNELRX_RADIOASTRONOMY})")
|
2022-06-25 09:56:45 +00:00
|
|
|
endif()
|
|
|
|
|
|
|
|
if (ENABLE_CHANNELRX_DEMODRADIOSONDE)
|
|
|
|
add_subdirectory(demodradiosonde)
|
2023-07-29 11:33:38 +00:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building demodradiosonde (ENABLE_CHANNELRX_DEMODRADIOSONDE=${ENABLE_CHANNELRX_DEMODRADIOSONDE})")
|
2022-06-25 09:56:45 +00:00
|
|
|
endif()
|
|
|
|
|
|
|
|
if(ENABLE_CHANNELRX_DEMODDAB AND DAB_FOUND AND ZLIB_FOUND AND FAAD_FOUND)
|
2021-04-16 21:56:15 +00:00
|
|
|
add_subdirectory(demoddab)
|
2023-07-29 11:33:38 +00:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building demoddab (ENABLE_CHANNELRX_DEMODDAB=${ENABLE_CHANNELRX_DEMODDAB} DAB_FOUND=${DAB_FOUND} ZLIB_FOUND=${ZLIB_FOUND} FAAD_FOUND=${FAAD_FOUND})")
|
2021-04-16 21:56:15 +00:00
|
|
|
endif()
|
|
|
|
|
2022-06-25 09:56:45 +00:00
|
|
|
if(ENABLE_CHANNELRX_DEMODAPT AND APT_FOUND AND SGP4_FOUND)
|
2021-02-26 20:40:23 +00:00
|
|
|
add_subdirectory(demodapt)
|
2023-07-29 11:33:38 +00:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building demodapt (ENABLE_CHANNELRX_DEMODAPT=${ENABLE_CHANNELRX_DEMODAPT} APT_FOUND=${APT_FOUND} SGP4_FOUND=${SGP4_FOUND})")
|
2021-02-26 20:40:23 +00:00
|
|
|
endif()
|
|
|
|
|
2022-06-25 09:56:45 +00:00
|
|
|
if(ENABLE_CHANNELRX_DEMODDSD AND LIBDSDCC_FOUND AND LIBMBE_FOUND)
|
2016-04-07 11:05:53 +00:00
|
|
|
add_subdirectory(demoddsd)
|
2023-07-29 11:33:38 +00:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building demoddsd (ENABLE_CHANNELRX_DEMODDSD=${ENABLE_CHANNELRX_DEMODDSD} LIBDSDCC_FOUND=${LIBDSDCC_FOUND} LIBMBE_FOUND=${LIBMBE_FOUND})")
|
2022-09-15 17:49:30 +00:00
|
|
|
endif()
|
2016-10-25 22:57:46 +00:00
|
|
|
|
2022-06-25 09:56:45 +00:00
|
|
|
if (ENABLE_CHANNELRX_REMOTESINK AND CM256CC_FOUND AND (HAS_SSE3 OR HAS_NEON))
|
2019-12-11 22:19:22 +00:00
|
|
|
add_subdirectory(remotesink)
|
2023-07-29 11:33:38 +00:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building remotesink (ENABLE_CHANNELRX_REMOTESINK=${ENABLE_CHANNELRX_REMOTESINK} CM256CC_FOUND=${CM256CC_FOUND} HAS_SSE3=${HAS_SSE3} HAS_NEON=${HAS_NEON})")
|
2020-11-23 20:16:25 +00:00
|
|
|
endif()
|
2018-09-04 23:32:29 +00:00
|
|
|
|
2022-07-19 09:10:20 +00:00
|
|
|
if (ENABLE_CHANNELRX_REMOTETCPSINK)
|
|
|
|
add_subdirectory(remotetcpsink)
|
2023-07-29 11:33:38 +00:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building remotetcpsink (ENABLE_CHANNELRX_REMOTETCPSINK=${ENABLE_CHANNELRX_REMOTETCPSINK})")
|
2022-07-19 09:10:20 +00:00
|
|
|
endif()
|
|
|
|
|
2022-06-25 09:56:45 +00:00
|
|
|
if (ENABLE_CHANNELRX_DEMODFREEDV AND CODEC2_FOUND)
|
2019-02-24 23:13:57 +00:00
|
|
|
add_subdirectory(demodfreedv)
|
2023-07-29 11:33:38 +00:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building demodfreedv (ENABLE_CHANNELRX_DEMODFREEDV=${ENABLE_CHANNELRX_DEMODFREEDV} CODEC2_FOUND=${CODEC2_FOUND})")
|
2022-06-30 02:32:00 +00:00
|
|
|
endif()
|
|
|
|
|
2022-09-06 20:10:25 +00:00
|
|
|
if (ENABLE_CHANNELRX_DEMODM17 AND CODEC2_FOUND)
|
2022-06-04 22:54:59 +00:00
|
|
|
add_subdirectory(demodm17)
|
2023-07-29 11:33:38 +00:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building demodm17 (ENABLE_CHANNELRX_DEMODFREEDV=${ENABLE_CHANNELRX_DEMODM17} CODEC2_FOUND=${CODEC2_FOUND})")
|
2022-06-30 02:32:00 +00:00
|
|
|
endif()
|
2019-02-24 23:13:57 +00:00
|
|
|
|
2023-05-26 07:28:12 +00:00
|
|
|
if (ENABLE_CHANNELRX_SIGMFFILESINK AND LIBSIGMF_FOUND)
|
2020-11-10 10:06:39 +00:00
|
|
|
add_subdirectory(sigmffilesink)
|
2023-07-29 11:33:38 +00:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building sigmffilesink (ENABLE_CHANNELRX_SIGMFFILESINK=${ENABLE_CHANNELRX_SIGMFFILESINK} LIBSIGMF_FOUND=${LIBSIGMF_FOUND})")
|
2020-11-21 11:16:49 +00:00
|
|
|
endif()
|
2020-11-10 10:06:39 +00:00
|
|
|
|
2022-06-25 09:56:45 +00:00
|
|
|
if (ENABLE_CHANNELRX_NOISEFIGURE AND Boost_FOUND AND Boost_VERSION_STRING VERSION_GREATER_EQUAL "1.70.0")
|
2021-07-01 06:55:30 +00:00
|
|
|
add_subdirectory(noisefigure)
|
2023-07-29 11:33:38 +00:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building noisefigure (ENABLE_CHANNELRX_NOISEFIGURE=${ENABLE_CHANNELRX_NOISEFIGURE} Boost_FOUND=${Boost_FOUND} Boost_VERSION_STRING=${Boost_VERSION_STRING})")
|
2021-07-01 06:55:30 +00:00
|
|
|
endif()
|
|
|
|
|
2023-01-15 00:22:57 +00:00
|
|
|
if (ENABLE_CHANNELRX_DEMODFT8 AND FT8_SUPPORT)
|
|
|
|
add_subdirectory(demodft8)
|
2023-07-29 11:33:38 +00:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building demodft8 (ENABLE_CHANNELRX_DEMODFT8=${ENABLE_CHANNELRX_DEMODFT8} FT8_SUPPORT=${FT8_SUPPORT})")
|
2023-01-15 00:22:57 +00:00
|
|
|
endif()
|
|
|
|
|
2023-03-03 16:37:38 +00:00
|
|
|
if (ENABLE_CHANNELRX_DEMODNAVTEX)
|
|
|
|
add_subdirectory(demodnavtex)
|
2023-07-29 11:33:38 +00:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building demodnavtex (ENABLE_CHANNELRX_DEMODNAVTEX=${ENABLE_CHANNELRX_DEMODNAVTEX})")
|
2023-03-03 16:37:38 +00:00
|
|
|
endif()
|
|
|
|
|
|
|
|
if (ENABLE_CHANNELRX_DEMODRTTY)
|
|
|
|
add_subdirectory(demodrtty)
|
2023-07-29 11:33:38 +00:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building demodrtty (ENABLE_CHANNELRX_DEMODRTTY=${ENABLE_CHANNELRX_DEMODRTTY})")
|
2023-03-03 16:37:38 +00:00
|
|
|
endif()
|
|
|
|
|
2023-03-21 10:54:42 +00:00
|
|
|
if (ENABLE_CHANNELRX_DEMODILS)
|
|
|
|
add_subdirectory(demodils)
|
2023-07-29 11:33:38 +00:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building demodils (ENABLE_CHANNELRX_DEMODILS=${ENABLE_CHANNELRX_DEMODILS})")
|
2023-03-21 10:54:42 +00:00
|
|
|
endif()
|
|
|
|
|
2023-05-15 15:40:43 +00:00
|
|
|
if (ENABLE_CHANNELRX_DEMODDSC)
|
|
|
|
add_subdirectory(demoddsc)
|
2023-07-29 11:33:38 +00:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building demoddsc (ENABLE_CHANNELRX_DEMODDSC=${ENABLE_CHANNELRX_DEMODDSC})")
|
2023-05-15 15:40:43 +00:00
|
|
|
endif()
|
|
|
|
|
2019-05-01 09:54:58 +00:00
|
|
|
if(NOT SERVER_MODE)
|
2023-07-29 11:33:38 +00:00
|
|
|
if (ENABLE_CHANNELRX_HEATMAP)
|
|
|
|
add_subdirectory(heatmap)
|
|
|
|
else()
|
|
|
|
message(STATUS "Not building heatmap (ENABLE_CHANNELRX_HEATMAP=${ENABLE_CHANNELRX_HEATMAP})")
|
|
|
|
endif()
|
2023-02-16 15:53:54 +00:00
|
|
|
|
2022-06-25 09:56:45 +00:00
|
|
|
if (ENABLE_CHANNELRX_CHANALYZER)
|
|
|
|
add_subdirectory(chanalyzer)
|
2023-07-29 11:33:38 +00:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building chanalyzer (ENABLE_CHANNELRX_CHANALYZER=${ENABLE_CHANNELRX_CHANALYZER})")
|
2022-06-25 09:56:45 +00:00
|
|
|
endif()
|
|
|
|
|
|
|
|
if (ENABLE_CHANNELRX_DEMODATV)
|
|
|
|
add_subdirectory(demodatv)
|
2023-07-29 11:33:38 +00:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building demodatv (ENABLE_CHANNELRX_DEMODATV=${ENABLE_CHANNELRX_DEMODATV})")
|
2022-06-25 09:56:45 +00:00
|
|
|
endif()
|
2019-05-01 09:54:58 +00:00
|
|
|
|
2019-05-09 12:18:27 +00:00
|
|
|
# need ffmpeg 3.1 that correstonds to
|
2019-05-01 09:54:58 +00:00
|
|
|
# libavutil 55.27.100
|
|
|
|
# libavcodec 57.48.101
|
|
|
|
# libavformat 57.40.101
|
2020-07-19 01:55:27 +00:00
|
|
|
find_package(FFmpeg COMPONENTS AVCODEC AVFORMAT AVUTIL SWSCALE)
|
2022-06-25 09:56:45 +00:00
|
|
|
|
|
|
|
if (ENABLE_CHANNELRX_DEMODDATV AND FFMPEG_FOUND)
|
2019-05-24 06:32:40 +00:00
|
|
|
if(WIN32)
|
|
|
|
add_subdirectory(demoddatv)
|
|
|
|
else()
|
2023-01-02 15:32:25 +00:00
|
|
|
if(((AVUTIL_VERSION VERSION_GREATER "55.27.99") AND (AVCODEC_VERSION VERSION_GREATER "57.48.101")) OR FFMPEG_EXTERNAL OR FFMEG_SKIP_CHECK)
|
2019-05-09 12:18:27 +00:00
|
|
|
message(STATUS "Include demoddatv")
|
|
|
|
add_subdirectory(demoddatv)
|
|
|
|
else()
|
2020-07-19 01:55:27 +00:00
|
|
|
message(STATUS "FFmpeg too old to compile demoddatv; needs at least avutil: 55.27.100, avcodec/avformat: 57.48.101")
|
2019-05-09 12:18:27 +00:00
|
|
|
endif()
|
2019-05-24 06:32:40 +00:00
|
|
|
endif()
|
2023-07-29 11:33:38 +00:00
|
|
|
else()
|
|
|
|
message(STATUS "Not building demoddatv (ENABLE_CHANNELRX_DEMODDATV=${ENABLE_CHANNELRX_DEMODDATV} FFMPEG_FOUND=${FFMPEG_FOUND})")
|
2019-05-01 09:54:58 +00:00
|
|
|
endif()
|
|
|
|
endif()
|