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