forked from enlightenment/efl
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/D10264devs/bu5hm4n/dead_events
parent
c1ffcff1d3
commit
cc4aa8ccaa
2 changed files with 21 additions and 10 deletions
@ -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