summaryrefslogtreecommitdiff
path: root/src/bindings
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2019-11-06 18:41:13 +0000
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-12-04 17:09:06 +0100
commit44b532425915aeaf97637db96053e03b2b97bfa7 (patch)
tree420c8e07a4b6814212447fc1b1798ae40fedbcbd /src/bindings
parenta8417668bcf17f2df642dadbe4f2699c13756063 (diff)
charp: Require mono bindings when using dotnet
Allow using `-Ddotnet=true` to automatically pull `bindings=mono`. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10610
Diffstat (limited to 'src/bindings')
-rw-r--r--src/bindings/meson.build5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bindings/meson.build b/src/bindings/meson.build
index e6a59d1559..b59e084d8a 100644
--- a/src/bindings/meson.build
+++ b/src/bindings/meson.build
@@ -2,6 +2,11 @@
2bindings = get_option('bindings') 2bindings = get_option('bindings')
3bindings_order = ['luajit', 'cxx', 'mono'] 3bindings_order = ['luajit', 'cxx', 'mono']
4 4
5if (get_option('dotnet') and not bindings.contains('mono'))
6 message('dotnet support requires the C# bindings')
7 bindings += ['mono']
8endif
9
5if (bindings.contains('cxx') == false and bindings.contains('mono')) 10if (bindings.contains('cxx') == false and bindings.contains('mono'))
6 subdirs = ['eina_cxx', 'eolian_cxx'] 11 subdirs = ['eina_cxx', 'eolian_cxx']
7 subdir(join_paths('cxx', 'eina_cxx')) 12 subdir(join_paths('cxx', 'eina_cxx'))