meson.build 1.07 KB
Newer Older
1 2
input_features = configuration_data()

3 4 5
input_api = static_library(
  'input_api',
  'Error.cxx',
6
  'InputPlugin.cxx',
7 8 9 10 11
  'InputStream.cxx',
  'ThreadInputStream.cxx',
  'AsyncInputStream.cxx',
  'ProxyInputStream.cxx',
  include_directories: inc,
12 13 14
  dependencies: [
    boost_dep,
  ],
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
)

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

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

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