summaryrefslogtreecommitdiff
path: root/src/bindings/meson.build
blob: 61027d374344bd9d5aa49aed84ccf2c1005112f9 (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

bindings = get_option('bindings')
bindings_order = ['lua', 'cxx', 'mono']

if (get_option('dotnet') and not bindings.contains('mono'))
  message('dotnet support requires the C# bindings')
  bindings += ['mono']
endif

if (bindings.contains('cxx') == false and bindings.contains('mono'))
  subdirs = ['eina_cxx', 'eolian_cxx']
  subdir(join_paths('cxx', 'eina_cxx'))
  inc_dir = []
  subdir(join_paths('cxx', 'eolian_cxx'))
  eolian_cxx = declare_dependency(
    include_directories: inc_dir,
    dependencies : eolian
  )
endif

foreach binding : bindings_order
  if bindings.contains(binding)
    subdir(join_paths( binding))
  endif
endforeach