forked from enlightenment/efl
meson: support mono bindings building without cxx
Summary: the mono bindings do depend partitially on the cxx bindings, eina_cxx and eolian_cxx are needed, nothing more. With this commit you can build mono without cxx. fixes T8292 Reviewers: lauromoura Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8292 Differential Revision: https://phab.enlightenment.org/D10264
This commit is contained in:
parent
c1ffcff1d3
commit
cc4aa8ccaa
11
meson.build
11
meson.build
|
@ -440,16 +440,7 @@ if sys_windows == false
|
|||
subdir(join_paths('src', 'generic', 'emotion'))
|
||||
endif
|
||||
subdir('cmakeconfig')
|
||||
|
||||
bindings = get_option('bindings')
|
||||
bindings_order = ['luajit', 'cxx', 'mono']
|
||||
|
||||
foreach binding : bindings_order
|
||||
if bindings.contains(binding)
|
||||
subdir(join_paths('src', 'bindings', binding))
|
||||
endif
|
||||
endforeach
|
||||
|
||||
subdir(join_paths('src', 'bindings'))
|
||||
subdir(join_paths('src', 'edje_external'))
|
||||
subdir(join_paths('data'))
|
||||
|
||||
|
|
|
@ -0,0 +1,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
|
Loading…
Reference in New Issue