diff options
author | Daniel Kolesa <d.kolesa@samsung.com> | 2018-11-28 14:45:31 +0100 |
---|---|---|
committer | Daniel Kolesa <d.kolesa@samsung.com> | 2018-11-28 14:45:31 +0100 |
commit | a10eda5137aeaf7fd91c11f353c9be9fc6cdbcb8 (patch) | |
tree | 1d17311e9c8154e0fc388800a8dbe1315db3c046 /src/lib/efl/interfaces/meson.build | |
parent | 05682eed7d572874928424af82fba819790c4228 (diff) |
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.
Diffstat (limited to '')
-rw-r--r-- | src/lib/efl/interfaces/meson.build | 4 |
1 files 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 @@ | |||
1 | eolian_include_directories += ['-I', join_paths(meson.source_root(), 'src', 'lib')] | ||
2 | |||
1 | pub_legacy_eo_files = [ | 3 | pub_legacy_eo_files = [ |
2 | 'efl_gfx_fill.eo', | 4 | 'efl_gfx_fill.eo', |
3 | 'efl_gfx_entity.eo', | 5 | 'efl_gfx_entity.eo', |
@@ -104,8 +106,6 @@ pub_eo_files = [ | |||
104 | 'efl_gfx_size_class.eo', | 106 | 'efl_gfx_size_class.eo', |
105 | ] | 107 | ] |
106 | 108 | ||
107 | eolian_include_directories += ['-I', join_paths(meson.source_root(), 'src', 'lib', 'evas', 'canvas')] | ||
108 | |||
109 | foreach eo_file : pub_eo_files | 109 | foreach eo_file : pub_eo_files |
110 | pub_eo_file_target += custom_target('eolian_gen_' + eo_file, | 110 | pub_eo_file_target += custom_target('eolian_gen_' + eo_file, |
111 | input : eo_file, | 111 | input : eo_file, |