OBSForCaiic/obs-studio/frontend/cmake/feature-idian-playground.cmake
2026-09-18 06:08:44 +08:00

12 lines
404 B
CMake

option(ENABLE_IDIAN_PLAYGROUND "Enable building custom idian widget demo window" OFF)
if(ENABLE_IDIAN_PLAYGROUND)
target_sources(
obs-studio
PRIVATE dialogs/OBSIdianPlayground.hpp dialogs/OBSIdianPlayground.cpp forms/OBSIdianPlayground.ui
)
target_enable_feature(obs-studio "Idian Playground" ENABLE_IDIAN_PLAYGROUND)
else()
target_disable_feature(obs-studio "Idian Playground")
endif()