summaryrefslogtreecommitdiff
path: root/src/bindings/mono/meson.build
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2019-03-07 10:54:35 +0100
committerXavi Artigas <xavierartigas@yahoo.es>2019-03-07 13:03:33 +0100
commitc67f199b2f24b5759e87e9c67761dca7f1dbd4d1 (patch)
tree299b16e787939241fb0f628b9fb298862c23db59 /src/bindings/mono/meson.build
parent76c67957b05875fb645daf8e76170703fbdfa0ce (diff)
efl-csharp: Respect beta in constructor parameters.
Summary: Fixes compilation after Efl.Ui.Win parameter changes. Also removed an unused var and now we pass the beta option to the eolian mono invocation for the tests. Fixes T7723 Reviewers: segfaultxavi, felipealmeida, vitor.sousa Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7723 Differential Revision: https://phab.enlightenment.org/D8150
Diffstat (limited to 'src/bindings/mono/meson.build')
-rw-r--r--src/bindings/mono/meson.build8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/bindings/mono/meson.build b/src/bindings/mono/meson.build
index 7582fc2..60401dc 100644
--- a/src/bindings/mono/meson.build
+++ b/src/bindings/mono/meson.build
@@ -146,11 +146,17 @@ efl_mono_dll_config = configure_file(input : 'efl_mono.dll.config.in',
146 output : 'efl_mono.dll.config', 146 output : 'efl_mono.dll.config',
147 configuration : efl_mono_conf_data) 147 configuration : efl_mono_conf_data)
148 148
149extra_cs_args = runtime_assemblies
150
151if get_option('mono-beta')
152 extra_cs_args += '-d:EFL_BETA'
153endif
154
149efl_mono = library('efl_mono', 155efl_mono = library('efl_mono',
150 mono_generator_target + mono_files + [efl_src], 156 mono_generator_target + mono_files + [efl_src],
151 install : true, 157 install : true,
152 install_dir : join_paths(dir_lib, 'efl-mono-'+version_major), 158 install_dir : join_paths(dir_lib, 'efl-mono-'+version_major),
153 cs_args : runtime_assemblies 159 cs_args : extra_cs_args
154) 160)
155 161
156efl_mono_test_suite_path=join_paths(meson.current_build_dir()) 162efl_mono_test_suite_path=join_paths(meson.current_build_dir())