summaryrefslogtreecommitdiff
path: root/src/lib/ecore_input/meson.build
blob: d1250c3591e65b0dd4adf5e2a8607c4c12424afc (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
38
39
ecore_input_deps = [ecore]
ecore_input_pub_deps = [eina, eo]
ecore_input_ext_deps = []

ecore_input_header_src = [
  'Ecore_Input.h'
]

ecore_input_src = files([
  'ecore_input.c',
  'ecore_input_compose.c',
  'ecore_input_joystick.c',
  'ecore_input_compose.h',
  'ecore_input_private.h'
])

if get_option('eeze')
  ecore_input_deps += eeze
endif

ecore_input_lib = library('ecore_input',
    ecore_input_src, pub_eo_file_target,
    c_args : package_c_args,
    dependencies: ecore_input_pub_deps + ecore_input_deps + ecore_input_ext_deps,
    include_directories : config_dir,
    install: true,
    version : meson.project_version()
)

ecore_input = declare_dependency(
  include_directories: [include_directories('.')],
  link_with: ecore_input_lib,
  sources : pub_eo_file_target + priv_eo_file_target,
  dependencies: ecore_input_pub_deps,
)

install_headers(ecore_input_header_src,
  install_dir : dir_package_include,
)