meson.build 990 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
)

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',
35
  'BufferingInputStream.cxx',
36 37
  'BufferedInputStream.cxx',
  'MaybeBufferedInputStream.cxx',
38 39 40 41
  'cache/Config.cxx',
  'cache/Manager.cxx',
  'cache/Item.cxx',
  'cache/Stream.cxx',
42
  include_directories: inc,
43 44 45
  dependencies: [
    boost_dep,
  ],
46 47 48 49 50 51 52 53 54 55 56
)

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