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 (05682eed7d)
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.
This commit is contained in:
Daniel Kolesa 2018-11-28 14:45:31 +01:00
parent 05682eed7d
commit a10eda5137
1 changed files with 2 additions and 2 deletions

View File

@ -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,