summaryrefslogtreecommitdiff
path: root/src/lib/ecore_buffer/meson.build
blob: 4cf3fc65da49efb3d2b7173f3f062f2016e5abd8 (plain) (blame)
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
26
27
28
29
30
31
32
33
34
35
36
37
ecore_buffer_deps = [dependency('wayland-client'), dependency('wayland-server'), ecore]
ecore_buffer_pub_deps = [eina]

ecore_buffer_header_src = [
  'Ecore_Buffer.h',
  'Ecore_Buffer_Queue.h'
]

ecore_buffer_src = [
  'bq_mgr_protocol.c',
  'buffer_queue.c',
  'shared_buffer.c',
  'ecore_buffer.c',
  'ecore_buffer_queue_main.c',
  'ecore_buffer_con.c',
  'ecore_buffer_provider.c',
  'ecore_buffer_consumer.c'
]

ecore_buffer_lib = library('ecore_buffer',
    ecore_buffer_src, pub_eo_file_target,
    dependencies: ecore_buffer_pub_deps + ecore_buffer_deps,
    include_directories : config_dir,
    install: true,
    version : meson.project_version()
)

ecore_buffer = declare_dependency(
  include_directories: [include_directories('.')],
  link_with: ecore_buffer_lib,
  sources : pub_eo_file_target + priv_eo_file_target,
  dependencies: ecore_buffer_pub_deps,
)

install_headers(ecore_buffer_header_src,
  install_dir : dir_package_include,
)