summaryrefslogtreecommitdiff
path: root/src/bindings/mono/meson.build
diff options
context:
space:
mode:
authorJoão Paulo Taylor Ienczak Zanette <joao.tiz@expertisesolutions.com.br>2019-12-12 18:32:31 -0300
committerLauro Moura <lauromoura@expertisesolutions.com.br>2019-12-12 18:45:20 -0300
commitca3a9133757841b0bfb65cd5862ac5ea0886626e (patch)
treef25ee6f4cde1506b9d423ab037ccff8677cb2d24 /src/bindings/mono/meson.build
parent4c77ee6843807cb0e27d73153203eec6ea42b8fb (diff)
csharp: Implement Deconstruct for structs.
Summary: Usage example: ``` var (x, y) = somePos2D; ``` Not available on Mono environment due to [`mcs` not implementing it](https://github.com/mono/mono/blob/a3de0304a190c54124df3486ce9c34b6262787a8/mcs/mcs/tuples.cs#L590). To keep tests from breaking because of it, a `MONO` preprocessor variable is defined and checked during test compilation. Ref T8489. Reviewers: brunobelo, lauromoura, segfaultxavi Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8489 Differential Revision: https://phab.enlightenment.org/D10809
Diffstat (limited to 'src/bindings/mono/meson.build')
-rw-r--r--src/bindings/mono/meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bindings/mono/meson.build b/src/bindings/mono/meson.build
index 86cef4d..f98aa5e 100644
--- a/src/bindings/mono/meson.build
+++ b/src/bindings/mono/meson.build
@@ -199,12 +199,13 @@ if (get_option('dotnet'))
199 ) 199 )
200 200
201else 201else
202 extra_cs_args += '-d:MONO'
202 203
203 efl_mono = library('efl_mono', 204 efl_mono = library('efl_mono',
204 mono_generator_target + mono_files + [efl_src], 205 mono_generator_target + mono_files + [efl_src],
205 install : true, 206 install : true,
206 install_dir : efl_mono_install_dir, 207 install_dir : efl_mono_install_dir,
207 cs_args : extra_cs_args + ['-doc:' + efl_mono_xml_doc, '-warnaserror+'] 208 cs_args : extra_cs_args + ['-doc:' + efl_mono_xml_doc, '-warnaserror+'],
208 ) 209 )
209 210
210 meson.add_install_script(join_paths(meson.source_root(), 'meson', 'meson_csharp_docs.sh'), 211 meson.add_install_script(join_paths(meson.source_root(), 'meson', 'meson_csharp_docs.sh'),