meson.build 835 Bytes
Newer Older
1 2 3
input_api = static_library(
  'input_api',
  'Error.cxx',
4
  'InputPlugin.cxx',
5 6 7 8 9
  'InputStream.cxx',
  'ThreadInputStream.cxx',
  'AsyncInputStream.cxx',
  'ProxyInputStream.cxx',
  include_directories: inc,
10 11 12
  dependencies: [
    boost_dep,
  ],
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
)

input_api_dep = declare_dependency(
  link_with: input_api,
  dependencies: [
    event_dep,
  ],
)

subdir('plugins')

input_glue = static_library(
  'input_glue',
  'Init.cxx',
  'Registry.cxx',
  'Open.cxx',
  'LocalOpen.cxx',
  'ScanTags.cxx',
  'Reader.cxx',
  'TextInputStream.cxx',
  'ProxyInputStream.cxx',
  'RewindInputStream.cxx',
  'BufferedInputStream.cxx',
  'MaybeBufferedInputStream.cxx',
  include_directories: inc,
)

input_glue_dep = declare_dependency(
  link_with: input_glue,
  dependencies: [
    input_plugins_dep,
    fs_dep,
    config_dep,
    tag_dep,
  ],
)