2014-05-18 15:52:39 +00:00
|
|
|
project(demod)
|
|
|
|
|
2020-10-27 16:22:10 +00:00
|
|
|
if (Qt5Quick_FOUND AND Qt5QuickWidgets_FOUND AND Qt5Positioning_FOUND)
|
|
|
|
add_subdirectory(demodadsb)
|
2020-11-27 12:39:40 +00:00
|
|
|
add_subdirectory(demodvor)
|
2020-10-27 16:22:10 +00:00
|
|
|
endif()
|
2020-11-28 06:14:06 +00:00
|
|
|
|
2016-03-09 05:39:19 +00:00
|
|
|
add_subdirectory(demodam)
|
2018-01-05 11:07:15 +00:00
|
|
|
add_subdirectory(demodbfm)
|
2016-03-10 01:29:42 +00:00
|
|
|
add_subdirectory(demodnfm)
|
|
|
|
add_subdirectory(demodssb)
|
2018-09-11 22:40:22 +00:00
|
|
|
add_subdirectory(udpsink)
|
2016-03-10 01:29:42 +00:00
|
|
|
add_subdirectory(demodwfm)
|
2019-05-02 02:02:40 +00:00
|
|
|
add_subdirectory(localsink)
|
2020-08-07 06:00:49 +00:00
|
|
|
add_subdirectory(filesink)
|
2019-05-03 23:55:58 +00:00
|
|
|
add_subdirectory(freqtracker)
|
2020-11-09 10:35:18 +00:00
|
|
|
add_subdirectory(demodchirpchat)
|
2020-11-28 06:14:06 +00:00
|
|
|
add_subdirectory(demodvorsc)
|
2021-01-13 19:58:07 +00:00
|
|
|
add_subdirectory(demodpacket)
|
2021-05-07 20:50:27 +00:00
|
|
|
add_subdirectory(demodais)
|
2021-07-09 11:48:02 +00:00
|
|
|
add_subdirectory(demodpager)
|
2021-06-22 16:38:56 +00:00
|
|
|
add_subdirectory(radioclock)
|
2021-10-12 10:31:14 +00:00
|
|
|
add_subdirectory(radioastronomy)
|
2022-03-01 17:17:56 +00:00
|
|
|
add_subdirectory(demodradiosonde)
|
2014-11-05 12:34:33 +00:00
|
|
|
|
2021-04-16 21:56:15 +00:00
|
|
|
if(DAB_FOUND AND ZLIB_FOUND AND FAAD_FOUND)
|
|
|
|
add_subdirectory(demoddab)
|
|
|
|
endif()
|
|
|
|
|
2022-02-04 20:56:47 +00:00
|
|
|
if(APT_FOUND AND SGP4_FOUND)
|
2021-02-26 20:40:23 +00:00
|
|
|
add_subdirectory(demodapt)
|
|
|
|
endif()
|
|
|
|
|
2016-04-21 00:13:57 +00:00
|
|
|
if(LIBDSDCC_FOUND AND LIBMBE_FOUND)
|
2016-04-07 11:05:53 +00:00
|
|
|
add_subdirectory(demoddsd)
|
2016-04-21 00:13:57 +00:00
|
|
|
endif(LIBDSDCC_FOUND AND LIBMBE_FOUND)
|
2016-10-25 22:57:46 +00:00
|
|
|
|
2020-11-23 20:16:25 +00:00
|
|
|
if (CM256CC_FOUND AND (HAS_SSE3 OR HAS_NEON))
|
2019-12-11 22:19:22 +00:00
|
|
|
add_subdirectory(remotesink)
|
2020-11-23 20:16:25 +00:00
|
|
|
endif()
|
2018-09-04 23:32:29 +00:00
|
|
|
|
2019-02-24 23:13:57 +00:00
|
|
|
if (CODEC2_FOUND)
|
|
|
|
add_subdirectory(demodfreedv)
|
|
|
|
endif(CODEC2_FOUND)
|
|
|
|
|
2020-11-21 11:16:49 +00:00
|
|
|
if (LIBSIGMF_FOUND AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
2020-11-10 10:06:39 +00:00
|
|
|
add_subdirectory(sigmffilesink)
|
2020-11-21 11:16:49 +00:00
|
|
|
endif()
|
2020-11-10 10:06:39 +00:00
|
|
|
|
2021-07-01 06:55:30 +00:00
|
|
|
if (Boost_FOUND AND Boost_VERSION_STRING VERSION_GREATER_EQUAL "1.70.0")
|
|
|
|
add_subdirectory(noisefigure)
|
|
|
|
endif()
|
|
|
|
|
2019-05-01 09:54:58 +00:00
|
|
|
if(NOT SERVER_MODE)
|
|
|
|
add_subdirectory(chanalyzer)
|
|
|
|
add_subdirectory(demodatv)
|
|
|
|
|
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)
|
2019-05-01 09:54:58 +00:00
|
|
|
if (FFMPEG_FOUND)
|
2019-05-24 06:32:40 +00:00
|
|
|
if(WIN32)
|
|
|
|
add_subdirectory(demoddatv)
|
|
|
|
else()
|
2020-07-19 01:55:27 +00:00
|
|
|
if((AVUTIL_VERSION VERSION_GREATER "55.27.99") AND (AVCODEC_VERSION VERSION_GREATER "57.48.101"))
|
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()
|
2019-05-01 09:54:58 +00:00
|
|
|
endif()
|
|
|
|
endif()
|