mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-04 16:01:14 -05:00
37 lines
981 B
CMake
37 lines
981 B
CMake
project(demod)
|
|
|
|
add_subdirectory(demodlora)
|
|
add_subdirectory(demodam)
|
|
add_subdirectory(demodbfm)
|
|
add_subdirectory(demodnfm)
|
|
add_subdirectory(demodssb)
|
|
add_subdirectory(udpsink)
|
|
add_subdirectory(demodwfm)
|
|
add_subdirectory(chanalyzer)
|
|
add_subdirectory(demodatv)
|
|
|
|
if(LIBDSDCC_FOUND AND LIBMBE_FOUND)
|
|
add_subdirectory(demoddsd)
|
|
endif(LIBDSDCC_FOUND AND LIBMBE_FOUND)
|
|
|
|
find_package(FFmpeg)
|
|
if (FFMPEG_FOUND)
|
|
# 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)
|
|
endif()
|
|
endif()
|
|
|
|
find_package(CM256cc)
|
|
if(CM256CC_FOUND)
|
|
add_subdirectory(daemonsink)
|
|
endif(CM256CC_FOUND)
|
|
|
|
if (BUILD_DEBIAN)
|
|
add_subdirectory(demoddsd)
|
|
add_subdirectory(daemonsink)
|
|
endif (BUILD_DEBIAN)
|