1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-18 14:21:49 -05:00
sdrangel/plugins/channelrx/CMakeLists.txt

51 lines
1.4 KiB
CMake
Raw Normal View History

project(demod)
2016-03-09 00:39:19 -05:00
add_subdirectory(demodam)
add_subdirectory(demodbfm)
2016-03-09 20:29:42 -05:00
add_subdirectory(demodnfm)
add_subdirectory(demodssb)
2018-09-11 18:40:22 -04:00
add_subdirectory(udpsink)
2016-03-09 20:29:42 -05:00
add_subdirectory(demodwfm)
add_subdirectory(localsink)
2019-05-03 19:55:58 -04:00
add_subdirectory(freqtracker)
2014-11-05 07:34:33 -05:00
if(LIBDSDCC_FOUND AND LIBMBE_FOUND)
2016-04-07 07:05:53 -04:00
add_subdirectory(demoddsd)
endif(LIBDSDCC_FOUND AND LIBMBE_FOUND)
2019-12-11 17:19:22 -05:00
if(CM256CC_FOUND)
add_subdirectory(remotesink)
endif(CM256CC_FOUND)
2018-09-04 19:32:29 -04:00
if (CODEC2_FOUND)
add_subdirectory(demodfreedv)
endif(CODEC2_FOUND)
if(NOT SERVER_MODE)
add_subdirectory(demodlora)
add_subdirectory(chanalyzer)
add_subdirectory(demodatv)
# need ffmpeg 3.1 that correstonds to
# libavutil 55.27.100
# libavcodec 57.48.101
# libavformat 57.40.101
# TODO use libavcodec/version.h
find_package(FFmpeg)
if (FFMPEG_FOUND)
if(WIN32)
add_subdirectory(demoddatv)
else()
# You can only get FFmpeg version from the command line
EXECUTE_PROCESS(COMMAND ffmpeg -version COMMAND grep ffmpeg COMMAND cut -d\ -f3 COMMAND tr -d '\n' OUTPUT_VARIABLE FFMPEG_VERSION)
message(STATUS "FFmpeg version ${FFMPEG_VERSION} found")
if(FFMPEG_VERSION VERSION_GREATER "3.1")
message(STATUS "Include demoddatv")
add_subdirectory(demoddatv)
else()
message(STATUS "FFmpeg too old to compile demoddatv; needs at least ffmpeg 3.1")
endif()
endif()
endif()
endif()