summaryrefslogtreecommitdiff
path: root/src/encoder/meson.build
blob: 1140e2a52af722a6fb90b9f65593d239dcd02c90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
encoder_features = configuration_data()

encoder_features.set('ENABLE_ENCODER', need_encoder)

if not need_encoder
  encoder_glue_dep = dependency('', required: false)
  configure_file(output: 'Features.h', configuration: encoder_features)
  subdir_done()
endif

encoder_api_dep = declare_dependency()

subdir('plugins')

encoder_glue = static_library(
  'encoder_glue',
  'Configured.cxx',
  'ToOutputStream.cxx',
  'EncoderList.cxx',
  include_directories: inc,
)

encoder_glue_dep = declare_dependency(
  link_with: encoder_glue,
  dependencies: [
    encoder_plugins_dep,
  ],
)

configure_file(output: 'Features.h', configuration: encoder_features)