mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-09-20 07:24:14 -05:00
e2cd39315fe9fcb67103fd1b105d7abd4d4dc41d
CMake really likes it when you specify a minimum version. Let's do that. Also added the ability te build and install on Linux out-of-tree. Mac *should* work, but I can't test it. Windows *should* work, but it has some trouble compiling on VS2017 15.9+ because of changes MS made to their compilier. Seeing as that issue is outside the scope and modifications made in this PR, that is an issue to address another day.
SceneSwitcher
An automated scene switcher for OBS Studio
More information can be found on https://obsproject.com/forum/resources/automatic-scene-switching.395/
To build it yourself follow these steps (changes / suggestions welcome):
- Download the OBS Studio sources.
- Move the sources of this plugin to the the frontend-plugins folder in the OBS sources ("obs-studio/UI/frontend-plugins/SceneSwitcher" for example).
- Edit the CMakeLists.txt in the frontend-plugins folder to include the SceneSwitcher sources directory by appending the line "add_subdirectory(SceneSwitcher)".
- Build OBS Studio and the plugin library will be located in the respective subdirectory of the rundir inside your build folder. (for example ~/obs-studio/build/rundir/RelWithDebInfo/obs-plugins/64bit/advanced-scene-switcher.so)
NOTE: The linux version of this plugin is dependent on libXScrnSaver.
Description
Languages
C++
95.1%
CMake
3.6%
Python
0.5%
Lua
0.4%
Objective-C++
0.3%