summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wl2/meson.build
blob: 96078fc34454d4c254e92ee42cb5abff14553ec3 (plain)
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
38
ecore_wl2_deps = [dependency('wayland-client'), dependency('wayland-server'), dependency('xkbcommon'), wayland_protocol, dependency('wayland-client')]
ecore_wl2_pub_deps = [eina, ecore]

ecore_wl2_header_src = [
  'Ecore_Wl2.h'
]

ecore_wl2_src = [
  'ecore_wl2_subsurf.c',
  'ecore_wl2_dnd.c',
  'ecore_wl2_window.c',
  'ecore_wl2_input.c',
  'ecore_wl2_output.c',
  'ecore_wl2_display.c',
  'ecore_wl2.c',
  'ecore_wl2_private.h',
  'ecore_wl2_buffer.c',
  'ecore_wl2_surface.c'
]

ecore_wl2_lib = library('ecore_wl2',
    ecore_wl2_src, pub_eo_file_target,
    dependencies: ecore_wl2_pub_deps + [dl, m, ecore, ecore_input, ecore_wl2_deps, libdrm, buildsystem],
    include_directories : config_dir,
    install: true,
    version : meson.project_version()
)

ecore_wl2 = declare_dependency(
  include_directories: [include_directories('.')],
  link_with: ecore_wl2_lib,
  sources : pub_eo_file_target + priv_eo_file_target,
  dependencies: ecore_wl2_pub_deps,
)

install_headers(ecore_wl2_header_src,
  install_dir : dir_package_include,
)