mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-12-28 02:21:25 +00:00
mirror: Move into its own component
Soon to be replaced by Spout/Sink
This commit is contained in:
parent
5d5852c8f7
commit
65e91fbbc4
4 changed files with 8 additions and 21 deletions
|
@ -298,9 +298,6 @@ set(${PREFIX}ENABLE_FILTER_UPSCALING_NVIDIA ${FEATURE_EXPERIMENTAL} CACHE BOOL "
|
|||
set(${PREFIX}ENABLE_FILTER_VIRTUAL_GREENSCREEN ${FEATURE_EXPERIMENTAL} CACHE BOOL "Enable Virtual Greenscreen Filter")
|
||||
set(${PREFIX}ENABLE_FILTER_VIRTUAL_GREENSCREEN_NVIDIA ${FEATURE_EXPERIMENTAL} CACHE BOOL "Enable NVIDIA provider(s) for Virtual Greenscreen Filter")
|
||||
|
||||
## Sources
|
||||
set(${PREFIX}ENABLE_SOURCE_MIRROR ${FEATURE_DEPRECATED} CACHE BOOL "Enable Mirror Source")
|
||||
|
||||
## FrontEnd & UI
|
||||
set(${PREFIX}ENABLE_FRONTEND ON CACHE BOOL "Enable Frontend code.")
|
||||
set(${PREFIX}ENABLE_UPDATER ON CACHE BOOL "Enable automatic update checks.")
|
||||
|
@ -517,10 +514,6 @@ function(feature_filter_virtual_greenscreen RESOLVE)
|
|||
endif()
|
||||
endfunction()
|
||||
|
||||
function(feature_source_mirror RESOLVE)
|
||||
is_feature_enabled(SOURCE_MIRROR T_CHECK)
|
||||
endfunction()
|
||||
|
||||
function(feature_frontend RESOLVE)
|
||||
is_feature_enabled(FRONTEND T_CHECK)
|
||||
if(RESOLVE AND T_CHECK)
|
||||
|
@ -563,7 +556,6 @@ feature_filter_denoising(OFF)
|
|||
feature_filter_sdf_effects(OFF)
|
||||
feature_filter_upscaling(OFF)
|
||||
feature_filter_virtual_greenscreen(OFF)
|
||||
feature_source_mirror(OFF)
|
||||
feature_frontend(OFF)
|
||||
feature_updater(OFF)
|
||||
|
||||
|
@ -693,7 +685,6 @@ feature_filter_denoising(ON)
|
|||
feature_filter_sdf_effects(ON)
|
||||
feature_filter_upscaling(ON)
|
||||
feature_filter_virtual_greenscreen(ON)
|
||||
feature_source_mirror(ON)
|
||||
feature_frontend(ON)
|
||||
feature_updater(ON)
|
||||
|
||||
|
@ -1052,18 +1043,6 @@ if(T_CHECK)
|
|||
endif()
|
||||
endif()
|
||||
|
||||
# Source/Mirror
|
||||
is_feature_enabled(SOURCE_MIRROR T_CHECK)
|
||||
if(T_CHECK)
|
||||
list(APPEND PROJECT_PRIVATE_SOURCE
|
||||
"source/sources/source-mirror.hpp"
|
||||
"source/sources/source-mirror.cpp"
|
||||
)
|
||||
list(APPEND PROJECT_DEFINITIONS
|
||||
ENABLE_SOURCE_MIRROR
|
||||
)
|
||||
endif()
|
||||
|
||||
# Profiling
|
||||
is_feature_enabled(PROFILING T_CHECK)
|
||||
if(T_CHECK)
|
||||
|
|
8
components/mirror/CMakeLists.txt
Normal file
8
components/mirror/CMakeLists.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
## AUTOGENERATED COPYRIGHT HEADER START
|
||||
# Copyright (C) NaN-NaN undefined
|
||||
# AUTOGENERATED COPYRIGHT HEADER END
|
||||
cmake_minimum_required(VERSION 3.26)
|
||||
project("Mirror")
|
||||
list(APPEND CMAKE_MESSAGE_INDENT "[${PROJECT_NAME}] ")
|
||||
|
||||
streamfx_add_component("Mirror")
|
Loading…
Reference in a new issue