aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elua/meson.build
blob: 9f1d270bba42dc3ea6a3fb265b32a6bcc1e080c3 (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
elua_deps = [eina, eo, efl, ecore, ecore_file, intl]
elua_pub_deps = [dependency('luajit')]

elua_src = ['elua.c', 'io.c', 'cache.c']
elua_header_src = ['Elua.h']

elua_lib = library('elua',
    elua_src,
    dependencies: [m, dl] + elua_deps + elua_pub_deps,
    include_directories : config_dir + [include_directories(join_paths('..','..'))],
    install: true,
    c_args : package_c_args,
    version : meson.project_version()
)

elua = declare_dependency(
  include_directories: [include_directories('.')],
  link_with: elua_lib,
  dependencies: elua_pub_deps,
)

install_headers(elua_header_src,
  install_dir : dir_package_include,
)