ce3ae8e423
* aja: Initial commit of AJA capture/output plugin * aja: Fix clang-format on aja-output-ui code * aja: Remove script used during dev/testing * aja: Address pull request feedback from @RytoEX * aja: Remove the SDK sources and update CMakeLists to point to new headers-only/static libs dependency distribution. * aja: Only build AJA plugin on x64 on macOS for now * aja: Remove the non-English placeholder locale files. The english strings/files will be produced via crowdin, according to @ddrboxman. * aja: Add FindLibAJANTV2.cmake script to locate the ajantv2 headers and static libs in the OBS external deps package(s). Tested on Windows x64. macOS and Linux x64 TBD. * aja: Add ajantv2/includes to FindLibAJANTV2 include search paths * aja: Remove commented code from aja CMakeLists * aja: Remove debug code and comments that are no longer needed. * aja: Fix indentation * aja: Remove disablement of clang-format in routing table and SDIWireFormat map * aja: Use spaces for all indentation in widget crosspoint arrays where we disable clang-format * aja: Address code style comments made by @RytoEX * aja: Fix uneven indentation * aja: More fixes to if/else placement and remove superfluous comments. * aja: Rename 'dwns' to 'deactivateWhileNotShowing' for clarity. The DeckLink plugin still uses the variable name 'dwns' and should be changed, if desired, in a separate PR. * aja: Remove X11Extras dependency from AJA Output frontend plugin * aja: Add patch from Jim to find AJA release/debug libs * aja: Improve AV sync of queued video/audio sent to the AJA card in the AJA Output plugin.
95 lines
2.9 KiB
CMake
95 lines
2.9 KiB
CMake
option(DISABLE_PLUGINS "Disable building of OBS plugins" OFF)
|
|
if(DISABLE_PLUGINS)
|
|
message(STATUS "DISABLE_PLUGINS is set; building of plugins is disabled.")
|
|
return()
|
|
endif()
|
|
|
|
if(WIN32)
|
|
option(BUILD_CA_ENCODER "Build CoreAudio encoder module" ON)
|
|
if (BUILD_CA_ENCODER)
|
|
add_subdirectory(coreaudio-encoder)
|
|
endif()
|
|
add_subdirectory(win-wasapi)
|
|
add_subdirectory(win-dshow)
|
|
add_subdirectory(win-capture)
|
|
add_subdirectory(decklink/win)
|
|
add_subdirectory(win-mf)
|
|
add_subdirectory(obs-qsv11)
|
|
add_subdirectory(vlc-video)
|
|
if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/enc-amf/CMakeLists.txt")
|
|
add_subdirectory(enc-amf)
|
|
else()
|
|
message(STATUS "enc-amf submodule not found! Please fetch submodules. enc-amf plugin disabled.")
|
|
endif()
|
|
if (MSVC)
|
|
add_subdirectory(win-ivcam)
|
|
endif()
|
|
elseif(APPLE)
|
|
add_subdirectory(coreaudio-encoder)
|
|
add_subdirectory(mac-avcapture)
|
|
add_subdirectory(mac-capture)
|
|
add_subdirectory(mac-vth264)
|
|
add_subdirectory(mac-syphon)
|
|
option(BUILD_VIRTUALCAM "Build Virtualcam" ON)
|
|
if(BUILD_VIRTUALCAM)
|
|
add_subdirectory(mac-virtualcam)
|
|
endif()
|
|
add_subdirectory(decklink/mac)
|
|
add_subdirectory(vlc-video)
|
|
add_subdirectory(linux-jack)
|
|
elseif("${CMAKE_SYSTEM_NAME}" MATCHES "Linux")
|
|
add_subdirectory(linux-capture)
|
|
add_subdirectory(linux-pulseaudio)
|
|
add_subdirectory(linux-v4l2)
|
|
add_subdirectory(linux-jack)
|
|
add_subdirectory(linux-alsa)
|
|
add_subdirectory(decklink/linux)
|
|
add_subdirectory(vlc-video)
|
|
add_subdirectory(sndio)
|
|
elseif("${CMAKE_SYSTEM_NAME}" MATCHES "FreeBSD")
|
|
add_subdirectory(linux-capture)
|
|
add_subdirectory(linux-pulseaudio)
|
|
add_subdirectory(linux-v4l2)
|
|
add_subdirectory(linux-jack)
|
|
add_subdirectory(linux-alsa)
|
|
add_subdirectory(vlc-video)
|
|
add_subdirectory(oss-audio)
|
|
add_subdirectory(sndio)
|
|
elseif("${CMAKE_SYSTEM_NAME}" MATCHES "OpenBSD")
|
|
add_subdirectory(linux-capture)
|
|
add_subdirectory(sndio)
|
|
endif()
|
|
|
|
option(BUILD_BROWSER "Build browser plugin" ON)
|
|
if (BUILD_BROWSER)
|
|
if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/obs-browser/CMakeLists.txt")
|
|
add_subdirectory(obs-browser)
|
|
set(BROWSER_AVAILABLE_INTERNAL ON CACHE BOOL "Internal global cmake variable" FORCE)
|
|
else()
|
|
message(FATAL_ERROR "obs-browser submodule not found! Please fetch submodules or set BUILD_BROWSER=OFF.")
|
|
endif()
|
|
else()
|
|
set(BROWSER_AVAILABLE_INTERNAL OFF CACHE BOOL "Internal global cmake variable" FORCE)
|
|
endif()
|
|
|
|
option(BUILD_VST "Build VST plugin" ON)
|
|
if(BUILD_VST)
|
|
if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/obs-vst/CMakeLists.txt")
|
|
add_subdirectory(obs-vst)
|
|
else()
|
|
message(FATAL_ERROR "obs-vst submodule not found! Please fetch submodules or set BUILD_VST=OFF.")
|
|
endif()
|
|
endif()
|
|
|
|
add_subdirectory(image-source)
|
|
add_subdirectory(obs-x264)
|
|
add_subdirectory(obs-libfdk)
|
|
add_subdirectory(obs-ffmpeg)
|
|
add_subdirectory(obs-outputs)
|
|
add_subdirectory(obs-filters)
|
|
add_subdirectory(obs-transitions)
|
|
add_subdirectory(obs-text)
|
|
add_subdirectory(rtmp-services)
|
|
add_subdirectory(text-freetype2)
|
|
add_subdirectory(aja)
|