meson.build 1.11 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
  'InputStream.cxx',
  'ThreadInputStream.cxx',
  'AsyncInputStream.cxx',
  'ProxyInputStream.cxx',
11
  'LastInputStream.cxx',
12
  include_directories: inc,
13 14 15
  dependencies: [
    boost_dep,
  ],
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
)

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

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

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