mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-14 20:31:53 -05:00
b760c44101
Update MacOS bundling to use macdeployqt rather than fixup_bundle, so all Qt dependencies are included. Update building of some libraries on MacOS, so that library paths in dylibs are build paths, rather than install paths, so macdeployqt can find them.
76 lines
2.0 KiB
CMake
76 lines
2.0 KiB
CMake
project(demod)
|
|
|
|
if (Qt5Quick_FOUND AND Qt5QuickWidgets_FOUND AND Qt5Positioning_FOUND)
|
|
add_subdirectory(demodadsb)
|
|
# add_subdirectory(demodvormc)
|
|
endif()
|
|
|
|
add_subdirectory(demodam)
|
|
add_subdirectory(demodbfm)
|
|
add_subdirectory(demodnfm)
|
|
add_subdirectory(demodssb)
|
|
add_subdirectory(udpsink)
|
|
add_subdirectory(demodwfm)
|
|
add_subdirectory(localsink)
|
|
add_subdirectory(filesink)
|
|
add_subdirectory(freqtracker)
|
|
add_subdirectory(demodchirpchat)
|
|
add_subdirectory(demodvor)
|
|
add_subdirectory(demodpacket)
|
|
add_subdirectory(demodais)
|
|
add_subdirectory(demodpager)
|
|
add_subdirectory(radioclock)
|
|
add_subdirectory(radioastronomy)
|
|
add_subdirectory(demodradiosonde)
|
|
|
|
if(DAB_FOUND AND ZLIB_FOUND AND FAAD_FOUND)
|
|
add_subdirectory(demoddab)
|
|
endif()
|
|
|
|
if(APT_FOUND AND SGP4_FOUND)
|
|
add_subdirectory(demodapt)
|
|
endif()
|
|
|
|
if(LIBDSDCC_FOUND AND LIBMBE_FOUND)
|
|
add_subdirectory(demoddsd)
|
|
endif(LIBDSDCC_FOUND AND LIBMBE_FOUND)
|
|
|
|
if (CM256CC_FOUND AND (HAS_SSE3 OR HAS_NEON))
|
|
add_subdirectory(remotesink)
|
|
endif()
|
|
|
|
if (CODEC2_FOUND)
|
|
add_subdirectory(demodfreedv)
|
|
endif(CODEC2_FOUND)
|
|
|
|
if (LIBSIGMF_FOUND AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
|
add_subdirectory(sigmffilesink)
|
|
endif()
|
|
|
|
if (Boost_FOUND AND Boost_VERSION_STRING VERSION_GREATER_EQUAL "1.70.0")
|
|
add_subdirectory(noisefigure)
|
|
endif()
|
|
|
|
if(NOT SERVER_MODE)
|
|
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
|
|
find_package(FFmpeg COMPONENTS AVCODEC AVFORMAT AVUTIL SWSCALE)
|
|
if (FFMPEG_FOUND)
|
|
if(WIN32)
|
|
add_subdirectory(demoddatv)
|
|
else()
|
|
if(((AVUTIL_VERSION VERSION_GREATER "55.27.99") AND (AVCODEC_VERSION VERSION_GREATER "57.48.101")) OR FFMPEG_EXTERNAL)
|
|
message(STATUS "Include demoddatv")
|
|
add_subdirectory(demoddatv)
|
|
else()
|
|
message(STATUS "FFmpeg too old to compile demoddatv; needs at least avutil: 55.27.100, avcodec/avformat: 57.48.101")
|
|
endif()
|
|
endif()
|
|
endif()
|
|
endif()
|