mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-24 10:14:13 -05:00
cmake: Move frontend plugins into main plugins dir
Frontend plugins should not require being placed in the frontend directory to be built successfully. Indeed they should only depend on libobs and the obs-frontend-api and thus their source tree should be able to exist anywhere (even standalone) and the plugin should still compile successfully (just like any 3rd party plugin). Thus moving those plugins into the main plugin directory ensures that they don't require on any "special sauce" within the source tree to compile.
This commit is contained in:
@@ -64,8 +64,6 @@ include(cmake/feature-youtube.cmake)
|
||||
include(cmake/feature-whatsnew.cmake)
|
||||
include(cmake/feature-idian-playground.cmake)
|
||||
|
||||
add_subdirectory(plugins)
|
||||
|
||||
configure_file(cmake/templates/ui-config.h.in ui-config.h)
|
||||
|
||||
target_sources(
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
add_subdirectory(aja-output-ui)
|
||||
add_subdirectory(decklink-captions)
|
||||
add_subdirectory(decklink-output-ui)
|
||||
add_subdirectory(frontend-tools)
|
||||
@@ -36,12 +36,28 @@ add_obs_plugin(
|
||||
PLATFORMS WINDOWS MACOS LINUX
|
||||
WITH_MESSAGE
|
||||
)
|
||||
add_obs_plugin(aja-output-ui PLATFORMS WINDOWS MACOS LINUX WITH_MESSAGE)
|
||||
add_obs_plugin(coreaudio-encoder PLATFORMS WINDOWS MACOS)
|
||||
add_obs_plugin(
|
||||
decklink
|
||||
PLATFORMS WINDOWS MACOS LINUX
|
||||
WITH_MESSAGE
|
||||
)
|
||||
add_obs_plugin(
|
||||
decklink-captions
|
||||
PLATFORMS WINDOWS MACOS LINUX
|
||||
WITH_MESSAGE
|
||||
)
|
||||
add_obs_plugin(
|
||||
decklink-output-ui
|
||||
PLATFORMS WINDOWS MACOS LINUX
|
||||
WITH_MESSAGE
|
||||
)
|
||||
add_obs_plugin(
|
||||
frontend-tools
|
||||
PLATFORMS WINDOWS MACOS LINUX
|
||||
WITH_MESSAGE
|
||||
)
|
||||
add_obs_plugin(image-source)
|
||||
add_obs_plugin(linux-alsa PLATFORMS LINUX FREEBSD OPENBSD)
|
||||
add_obs_plugin(linux-capture PLATFORMS LINUX FREEBSD OPENBSD)
|
||||
|
||||
+1
-1
@@ -58,7 +58,7 @@ endif()
|
||||
|
||||
set_target_properties_obs(
|
||||
aja-output-ui
|
||||
PROPERTIES FOLDER frontend
|
||||
PROPERTIES FOLDER plugins/aja
|
||||
PREFIX ""
|
||||
AUTOMOC ON
|
||||
AUTOUIC ON
|
||||
+1
-1
@@ -47,7 +47,7 @@ endif()
|
||||
|
||||
set_target_properties_obs(
|
||||
decklink-output-ui
|
||||
PROPERTIES FOLDER frontend
|
||||
PROPERTIES FOLDER plugins/decklink
|
||||
PREFIX ""
|
||||
AUTOMOC ON
|
||||
AUTOUIC ON
|
||||
+1
-1
@@ -83,7 +83,7 @@ endif()
|
||||
|
||||
set_target_properties_obs(
|
||||
frontend-tools
|
||||
PROPERTIES FOLDER frontend
|
||||
PROPERTIES FOLDER plugins/frontend-tools
|
||||
PREFIX ""
|
||||
AUTOMOC ON
|
||||
AUTOUIC ON
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user