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)
downloadefl-44b532425915aeaf97637db96053e03b2b97bfa7.tar.gz
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 @@
bindings = get_option('bindings')
bindings_order = ['luajit', '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'))