-
-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VLS's suggestion for internal dependency break with meson 0.55.0 #139
Comments
Interesting. I haven't taken a look at this at all yet, but just from looking at your diff'ed output it looks like Meson 0.55.0 possibly changed the IDs used for build targets. |
Meson 0.55 changed the way build dirs are named, which broke our hack to find extra target compiler flags in compile_commands.json Fixes #139
Meson 0.55 changed the way build dirs are named, which broke our hack to find extra target compiler flags in compile_commands.json Fixes #139
@Cogitri please try out the fix and verify things work on your end. |
Meson 0.55 changed the way build dirs are named, which broke our hack to find extra target compiler flags in compile_commands.json Fixes #139
Meson 0.55 changed the way build dirs are named, which broke our hack to find extra target compiler flags in compile_commands.json Fixes #139
Hm, unfortunately it seems like it's not fixed with the latest commit from the The project itself compiles fine though. Tested with meson 0.55.3 Here's the log if that helps:
Thanks for looking into this! |
Strange. I managed to get it working on my end (with meson 0.55.3). @Cogitri can you restart VLS with debug mode enabled (see below) and paste the output here? |
Ah whoops, seems like it does work, I forgot to rebuild vala-lint against the new Vala version (0.50), it still pulled in vala 0.48 for me and I couldn't upgrade to vls built against vala 0.50 locally :) Works after I actually upgraded to the new version, thanks for working on this! :) |
@Cogitri awesome. Good to hear. |
Meson 0.55 changed the way build dirs are named, which broke our hack to find extra target compiler flags in compile_commands.json Fixes #139
Describe the bug
After upgrading from meson 0.54.3 to meson 0.55.0, VLS stopped showing suggestions & finding symbols from an internal dependency of mine. My setup looks like this:
-> final executable (with main)
static library (contains everything but main()) |
-> various test executables
I defined the static lib like this in my meson.build:
And depend on it via
dependencies: static_lib_dep
in the executables which link against it. This works fine with meson 0.55.0 too (as in it builds and passes tests, etc.), but breaks VLS.I've diffed the output of VLS with meson 0.54.3 vs 0.55.0, in case that helps:
The text was updated successfully, but these errors were encountered: