summaryrefslogtreecommitdiff
path: root/src/bindings/mono/efl_mono/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/bindings/mono/efl_mono/meson.build')
-rw-r--r--src/bindings/mono/efl_mono/meson.build23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/bindings/mono/efl_mono/meson.build b/src/bindings/mono/efl_mono/meson.build
index cfe53ee..e93d323 100644
--- a/src/bindings/mono/efl_mono/meson.build
+++ b/src/bindings/mono/efl_mono/meson.build
@@ -34,6 +34,29 @@ efl_src = configure_file(
34 configuration: efl_libs 34 configuration: efl_libs
35) 35)
36 36
37friend_assemblies = ''
38mono_friend_assemblies = get_option('mono-friend-assemblies')
39if get_option('build-tests')
40 if get_option('dotnet')
41 mono_friend_assemblies += 'efl_sharp_test_suite'
42 else
43 mono_friend_assemblies += 'efl_mono_test'
44 mono_friend_assemblies += 'efl-mono-suite'
45 endif
46endif
47
48foreach f : mono_friend_assemblies
49 friend_assemblies += '[assembly: InternalsVisibleTo("@0@")]\n'.format(f)
50endforeach
51friend_assembly_data = configuration_data()
52friend_assembly_data.set('MONO_FRIEND_ASSEMBLIES', friend_assemblies)
53
54mono_files += configure_file(
55 input: 'AssemblyInfo.cs.in',
56 output: 'AssemblyInfo.cs',
57 configuration: friend_assembly_data
58)
59
37mono_eo_files = [ 60mono_eo_files = [
38 'efl_mono_model_internal.eo', 61 'efl_mono_model_internal.eo',
39 'efl_mono_model_internal_child.eo' 62 'efl_mono_model_internal_child.eo'