forked from enlightenment/efl
26 lines
647 B
Meson
26 lines
647 B
Meson
|
|
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
|