Skip to content
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

using @OUTPUT@ in a custom_target depfile argument results in double path #14140

Open
dcbaker opened this issue Jan 15, 2025 · 0 comments
Open
Labels

Comments

@dcbaker
Copy link
Member

dcbaker commented Jan 15, 2025

Describe the bug
In a subdirectory, create a custom target that writes a depfile (say in 'include)the depfile passed to the executable will have the path twice, soinclude/include/depfile.dinstead ofinclude/depfile.d`

To Reproduce
In a subdirctory. This will not trigger from the root meson.build flie

custom_target(
  command : ['a command', '--depfile', '@DEPFILE@', '-o', '@OUTPUT@'],
  output : 'foo',
  depfile : '@[email protected]',
)
@dcbaker dcbaker added the bug label Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant