summaryrefslogtreecommitdiff
path: root/src/bindings/meson.build
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-10-01 09:57:04 -0300
committerLauro Moura <lauromoura@expertisesolutions.com.br>2019-10-01 10:27:41 -0300
commitcc4aa8ccaa055ef81714c8e63bdee582c4c94284 (patch)
tree4f5e22e3f1e246c4a7cd150dfd719e66e0aa9df0 /src/bindings/meson.build
parentc1ffcff1d3c3da399404d1b9a0f125d6d3020bac (diff)
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
Diffstat (limited to 'src/bindings/meson.build')
-rw-r--r--src/bindings/meson.build20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/bindings/meson.build b/src/bindings/meson.build
new file mode 100644
index 0000000000..e6a59d1559
--- /dev/null
+++ b/src/bindings/meson.build
@@ -0,0 +1,20 @@
1
2bindings = get_option('bindings')
3bindings_order = ['luajit', 'cxx', 'mono']
4
5if (bindings.contains('cxx') == false and bindings.contains('mono'))
6 subdirs = ['eina_cxx', 'eolian_cxx']
7 subdir(join_paths('cxx', 'eina_cxx'))
8 inc_dir = []
9 subdir(join_paths('cxx', 'eolian_cxx'))
10 eolian_cxx = declare_dependency(
11 include_directories: inc_dir,
12 dependencies : eolian
13 )
14endif
15
16foreach binding : bindings_order
17 if bindings.contains(binding)
18 subdir(join_paths( binding))
19 endif
20endforeach