aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore_sdl/meson.build
blob: b4685818c14518579473e4b816524f60a25d7346 (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
ecore_sdl_deps = [eina, ecore, ecore_input]
ecore_sdl_pub_deps = []

ecore_sdl_src = [
  'ecore_sdl.c'
]

ecore_sdl_header_src = [
  'Ecore_Sdl.h',
  'Ecore_Sdl_Keys.h'
]

ecore_sdl_deps += dependency('sdl2')

ecore_sdl_lib = library('ecore_sdl',
    ecore_sdl_src,
    dependencies: [m] + ecore_sdl_deps + ecore_sdl_pub_deps,
    include_directories : config_dir + [include_directories(join_paths('..','..'))],
    install: true,
    c_args : package_c_args,
)

ecore_sdl = declare_dependency(
  include_directories: [include_directories('.')],
  link_with: ecore_sdl_lib,
  dependencies: ecore_sdl_pub_deps,
)

install_headers(ecore_sdl_header_src,
  install_dir : dir_package_include,
)