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

feature request: expose more info from custom targets #13419

Open
yshui opened this issue Jul 12, 2024 · 1 comment
Open

feature request: expose more info from custom targets #13419

yshui opened this issue Jul 12, 2024 · 1 comment

Comments

@yshui
Copy link
Contributor

yshui commented Jul 12, 2024

Basic things like the name of the target, input/output file names would be really useful.

@eli-schwartz
Copy link
Member

"Would be really useful" doesn't explain how it would be useful.

  • the output filenames are already available -- see the .full_path() method
  • the input filenames are already encoded in your meson.build files as arguments to custom_target() and serve no use case after the target was created
  • the "name" of the target is meaningless as it's only used for display purposes

Can you give an example of where you would use information that isn't currently available?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants