mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-22 01:44:49 -05:00
Some checks failed
debian-build / build (push) Has been cancelled
Check locale / ubuntu64 (push) Has been cancelled
Push to master / Check Formatting 🔍 (push) Has been cancelled
Push to master / Build Project 🧱 (push) Has been cancelled
Push to master / Create Release 🛫 (push) Has been cancelled
The goal is to remove the older, more limited version of the HTTP action at some point in the future.
38 lines
867 B
CMake
38 lines
867 B
CMake
macro(add_plugin plugin)
|
|
option(ENABLE_${plugin}_PLUGIN "Enable the ${plugin} plugin" ON)
|
|
if(ENABLE_${plugin}_PLUGIN)
|
|
add_subdirectory(${plugin})
|
|
endif()
|
|
endmacro()
|
|
|
|
# ---------------------------------------------------------------------------- #
|
|
|
|
add_subdirectory(base)
|
|
|
|
# Add plugins below, which have dependencies to external libraries or other
|
|
# components which might potentially not be fulfilled.
|
|
|
|
#[[
|
|
To add a new plugin with external dependencies append a ...
|
|
|
|
add_plugin(<plugin_name>)
|
|
|
|
... call to the end of this file.
|
|
|
|
In the plugins cmake file call the helper functions ...
|
|
|
|
install_advss_plugin(<plugin_name>)
|
|
... and ...
|
|
install_advss_plugin_dependency(...)
|
|
|
|
... to install the plugin and its dependencies.
|
|
#]]
|
|
|
|
add_plugin(http)
|
|
add_plugin(midi)
|
|
add_plugin(openvr)
|
|
add_plugin(stream-deck)
|
|
add_plugin(twitch)
|
|
add_plugin(usb)
|
|
add_plugin(video)
|