You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If you have a primary library written in Vala, you have a VAPI output; if that is used by another Vala written library in the same project link_with makes the magic to add required valac compiler parameters, but when inspecting meson-info/intro-targets.json there is no --pkg or a direct reference to the VAPI file of the library it is linked with.
This information is useful for IED code completion servers, because they need to know all compilation parameters. The following extraction of meson-info/intro-targets.json shows up how a test case is linked against gvls-0.16 shared library and works, but the introspection information the reference to library's VAPI file is missing so code completion, diagnostics and other services just fails to located used symbols.
To Reproduce
There should be an independent library and a dependent library that is linked against the first one. Configure the project and inspect meson-info/intro-targets.json, showing up the missed independent library's VAPI in the paramenters of the dependent libary.
Expected behavior
The parameters should include the VAPI used in the form of --pkg, followed by the VAPI package's name of the independent library and a --vapidir followed by the independent libary's directory where the VAPI is generated. Another option is to have the required VAPI file included in the sources, but is better to include it in the parameters.
system parameters
this a plain native build (for the same computer)
Ubuntu 20.04 is used
Python3 version is 3.8.2
Meson version is 0.53.2
Ninja version is 1.10.0
The text was updated successfully, but these errors were encountered:
Describe the bug
If you have a primary library written in Vala, you have a VAPI output; if that is used by another Vala written library in the same project
link_with
makes the magic to add requiredvalac
compiler parameters, but when inspectingmeson-info/intro-targets.json
there is no--pkg
or a direct reference to the VAPI file of the library it is linked with.This information is useful for IED code completion servers, because they need to know all compilation parameters. The following extraction of
meson-info/intro-targets.json
shows up how a test case is linked againstgvls-0.16
shared library and works, but the introspection information the reference to library's VAPI file is missing so code completion, diagnostics and other services just fails to located used symbols.To Reproduce
There should be an independent library and a dependent library that is linked against the first one. Configure the project and inspect
meson-info/intro-targets.json
, showing up the missed independent library's VAPI in the paramenters of the dependent libary.Expected behavior
The parameters should include the VAPI used in the form of
--pkg
, followed by the VAPI package's name of the independent library and a--vapidir
followed by the independent libary's directory where the VAPI is generated. Another option is to have the required VAPI file included in the sources, but is better to include it in the parameters.system parameters
The text was updated successfully, but these errors were encountered: