output/meson.build: add liboutput_registry.a

This commit is contained in:
Max Kellermann 2023-03-07 11:50:05 +01:00
parent c8dfb57408
commit 5ef29c424d
2 changed files with 18 additions and 4 deletions

View File

@ -18,11 +18,26 @@ output_api_dep = declare_dependency(
subdir('plugins') subdir('plugins')
output_registry = static_library(
'output_registry',
'Registry.cxx',
include_directories: inc,
dependencies: [
fmt_dep,
],
)
output_registry_dep = declare_dependency(
link_with: output_registry,
dependencies: [
output_plugins_dep,
],
)
output_glue = static_library( output_glue = static_library(
'output_glue', 'output_glue',
'Defaults.cxx', 'Defaults.cxx',
'Filtered.cxx', 'Filtered.cxx',
'Registry.cxx',
'MultipleOutputs.cxx', 'MultipleOutputs.cxx',
'SharedPipeConsumer.cxx', 'SharedPipeConsumer.cxx',
'Source.cxx', 'Source.cxx',
@ -37,6 +52,7 @@ output_glue = static_library(
include_directories: inc, include_directories: inc,
dependencies: [ dependencies: [
fmt_dep, fmt_dep,
output_registry_dep,
], ],
) )
@ -45,9 +61,7 @@ output_glue_dep = declare_dependency(
dependencies: [ dependencies: [
filter_glue_dep, filter_glue_dep,
mixer_plugins_dep, mixer_plugins_dep,
output_plugins_dep,
], ],
) )
configure_file(output: 'Features.h', configuration: output_features) configure_file(output: 'Features.h', configuration: output_features)

View File

@ -615,7 +615,7 @@ executable(
'run_output.cxx', 'run_output.cxx',
include_directories: inc, include_directories: inc,
dependencies: [ dependencies: [
output_glue_dep, output_registry_dep,
encoder_glue_dep, encoder_glue_dep,
event_dep, event_dep,
cmdline_dep, cmdline_dep,