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

Provide more options for filtering targets #212

Open
keith opened this issue Aug 28, 2024 · 1 comment
Open

Provide more options for filtering targets #212

keith opened this issue Aug 28, 2024 · 1 comment

Comments

@keith
Copy link

keith commented Aug 28, 2024

Currently there doesn't seem to be a good way to filter out some targets from the compile command generation. In one of our cases we build the same cpp file in N different targets, which all have different include paths, but we only do this in our release archives, and during local development there's a natural default target that has the "correct" arguments (as this is hidden behind macros). In this case it would be nice if I could affect the aquery a bit in order to filter out targets based on something, either names, or tags, or something similar. That way this tool would pick the right one always, currently it can pick the wrong one and then include paths are invalid for most developer workflows.

@keith
Copy link
Author

keith commented Aug 28, 2024

Maybe a less complicated version of this would just be if the aquery took into account a custom tag value like no-compile-commands and just always excluded that from the set of targets. Then we could annotate our targets with that flag

@github-staff github-staff deleted a comment from robykartis Oct 22, 2024
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

1 participant