summaryrefslogtreecommitdiff
path: root/src/bindings/meson.build
blob: e6a59d1559a123c7e7918d91f3016bbb03717dac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

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

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