summaryrefslogtreecommitdiff
path: root/src/encoder/meson.build
blob: a343551eb7abfce9985774bf0fde815ed12a1c5c (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
conf.set('ENABLE_ENCODER', need_encoder)

if not need_encoder
  encoder_glue_dep = dependency('', required: false)
  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,
  ],
)