From a10eda5137aeaf7fd91c11f353c9be9fc6cdbcb8 Mon Sep 17 00:00:00 2001 From: Daniel Kolesa Date: Wed, 28 Nov 2018 14:45:31 +0100 Subject: [PATCH] meson: include whole src/lib for eo file generation in ifaces In autotools, src/lib is used as an include path for finding eo files, which is the same behavior you would get as when using a system directory. In meson, this was changed to include only certain directories. This presents a problem (05682eed7d572874928424af82fba819790c4228) as it is not possible to reference symbols from other paths within documentation. Since this is necessary for the time being, work around the problem by doing a whole src/lib include for now, which fixes the parsing. Longer term solution is to be discussed and implemented. --- src/lib/efl/interfaces/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/efl/interfaces/meson.build b/src/lib/efl/interfaces/meson.build index 03d88e2aac..fbcc31bcb1 100644 --- a/src/lib/efl/interfaces/meson.build +++ b/src/lib/efl/interfaces/meson.build @@ -1,3 +1,5 @@ +eolian_include_directories += ['-I', join_paths(meson.source_root(), 'src', 'lib')] + pub_legacy_eo_files = [ 'efl_gfx_fill.eo', 'efl_gfx_entity.eo', @@ -104,8 +106,6 @@ pub_eo_files = [ 'efl_gfx_size_class.eo', ] -eolian_include_directories += ['-I', join_paths(meson.source_root(), 'src', 'lib', 'evas', 'canvas')] - foreach eo_file : pub_eo_files pub_eo_file_target += custom_target('eolian_gen_' + eo_file, input : eo_file,