2016-10-20 12:04:15 -04:00
|
|
|
project(mod)
|
|
|
|
|
2022-06-25 05:56:45 -04:00
|
|
|
if (ENABLE_CHANNELTX_MODAIS)
|
|
|
|
add_subdirectory(modais)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if (ENABLE_CHANNELTX_MODAM)
|
|
|
|
add_subdirectory(modam)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if (ENABLE_CHANNELTX_MODCHIRPCHAT)
|
|
|
|
add_subdirectory(modchirpchat)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if (ENABLE_CHANNELTX_MODNFM)
|
|
|
|
add_subdirectory(modnfm)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if (ENABLE_CHANNELTX_MODSSB)
|
|
|
|
add_subdirectory(modssb)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if (ENABLE_CHANNELTX_MODWFM)
|
|
|
|
add_subdirectory(modwfm)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if (ENABLE_CHANNELTX_MODPACKET)
|
|
|
|
add_subdirectory(modpacket)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if (ENABLE_CHANNELTX_MOD802.15.4)
|
|
|
|
add_subdirectory(mod802.15.4)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if (ENABLE_CHANNELTX_UDPSOURCE)
|
|
|
|
add_subdirectory(udpsource)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if (ENABLE_CHANNELTX_LOCALSOURCE)
|
|
|
|
add_subdirectory(localsource)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if (ENABLE_CHANNELTX_FILESOURCE)
|
|
|
|
add_subdirectory(filesource)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if (ENABLE_CHANNELTX_REMOTESOURCE AND CM256CC_FOUND AND (HAS_SSE3 OR HAS_NEON))
|
2019-01-22 18:44:13 -05:00
|
|
|
add_subdirectory(remotesource)
|
2020-11-23 15:16:25 -05:00
|
|
|
endif()
|
2018-08-31 12:30:52 -04:00
|
|
|
|
2022-06-25 05:56:45 -04:00
|
|
|
if (ENABLE_CHANNELTX_MODATV AND OpenCV_FOUND)
|
2018-08-31 12:30:52 -04:00
|
|
|
add_subdirectory(modatv)
|
2017-03-08 02:36:28 -05:00
|
|
|
endif()
|
2018-09-15 19:30:43 -04:00
|
|
|
|
2021-03-18 13:17:58 -04:00
|
|
|
# Copied from channelrx/CMakeLists.txt - why not in top-level?
|
|
|
|
find_package(FFmpeg COMPONENTS AVCODEC AVFORMAT AVUTIL SWSCALE)
|
2022-06-25 05:56:45 -04:00
|
|
|
|
|
|
|
if (ENABLE_CHANNELTX_MODDATV AND FFMPEG_FOUND)
|
2021-03-18 13:17:58 -04:00
|
|
|
add_subdirectory(moddatv)
|
|
|
|
endif()
|
|
|
|
|
2022-06-25 05:56:45 -04:00
|
|
|
if (ENABLE_CHANNELTX_MODFREEDV AND CODEC2_FOUND)
|
2019-02-22 09:57:27 -05:00
|
|
|
add_subdirectory(modfreedv)
|
2022-06-29 22:32:00 -04:00
|
|
|
endif()
|
|
|
|
|
2022-09-06 16:10:25 -04:00
|
|
|
if (ENABLE_CHANNELTX_MODM17 AND CODEC2_FOUND)
|
2022-06-09 19:42:24 -04:00
|
|
|
add_subdirectory(modm17)
|
2022-06-29 22:32:00 -04:00
|
|
|
endif()
|