efl
1
2bindings = get_option('bindings')
3bindings_order = ['lua', 'cxx', 'mono']
4
5if (get_option('dotnet') and not bindings.contains('mono'))
6message('dotnet support requires the C# bindings')
7bindings += ['mono']
8endif
9
10if (bindings.contains('cxx') == false and bindings.contains('mono'))
11subdirs = ['eina_cxx', 'eolian_cxx']
12subdir(join_paths('cxx', 'eina_cxx'))
13inc_dir = []
14subdir(join_paths('cxx', 'eolian_cxx'))
15eolian_cxx = declare_dependency(
16include_directories: inc_dir,
17dependencies : eolian
18)
19endif
20
21if bindings.contains('lua') and not have_elua
22error('Elua is necessary for Lua bindings')
23endif
24
25foreach binding : bindings_order
26if bindings.contains(binding)
27subdir(join_paths( binding))
28endif
29endforeach
30