Using builtin targets as dependency for run_target
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 6.6k
- Forks
- 1.9k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 33
Description
It would be useful for custom and optional installation/uninstallation rules.
Example:
custom_install = run_target('custom_install', command: ['do_install'], depends: meson.get_target('all'))
opt_install = run_target('opt_install', command: ['do_opt_install'], depends: meson.get_target('install'))
custom_uninstall = run_target('custom_uninstall', command: ['do_uninstall'], depends: meson.get_target('uninstall'))
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating how run_target dependencies are validated and how the builtin all, install, and uninstall targets are represented. Confirm the desired behavior from the examples, then verify that custom run_target rules can depend on those builtin targets without breaking existing dependency handling.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100