aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
diff options
context:
space:
mode:
authorAlexandre Janniaux <ajanni@videolabs.io>2023-08-04 17:59:44 +0200
committerXavier Claessens <xclaesse@gmail.com>2023-08-06 10:24:26 -0400
commitf3b9db9e9d9025d582ecd45107f52acb3bafee8d (patch)
tree9043b5d5340a24e80889559117aa09946faf4511 /docs/markdown/snippets
parent61554ad37b32001f352739382e79f8639dea3c31 (diff)
downloadmeson-f3b9db9e9d9025d582ecd45107f52acb3bafee8d.zip
meson-f3b9db9e9d9025d582ecd45107f52acb3bafee8d.tar.gz
meson-f3b9db9e9d9025d582ecd45107f52acb3bafee8d.tar.bz2
build.py: improve BuildTarget error message
Improve the error message when a build target is assigned as dependency of another build target, which allows to better pinpoint where the issue lies on. In the example that follow, modules/meson.build:294 is in a for loop creating library targets from an array of dictionary, and doesn't point to the location where interop_sw_plugin is assigned with vlc_opengl: Before: modules/meson.build:294:17: ERROR: Tried to use a build target as a dependency. You probably should put it in link_with instead. After: modules/meson.build:294:17: ERROR: Tried to use a build target vlc_opengl as a dependency of target interop_sw_plugin. You probably should put it in link_with instead. It would probably be best to directly pinpoint where the assignment was made but it's probably harder so start simple by saying what is concerned by the error.
Diffstat (limited to 'docs/markdown/snippets')
0 files changed, 0 insertions, 0 deletions