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 flags for common compiler options (e.g. C++ standard) #139

Open
paulherman opened this issue Aug 8, 2022 · 0 comments
Open

Feature flags for common compiler options (e.g. C++ standard) #139

paulherman opened this issue Aug 8, 2022 · 0 comments
Labels
P4 Acknowledged issue. It's unlikely that the team will ever fix this issue.

Comments

@paulherman
Copy link

Description of the problem / feature request:

Allow customizing common flags (e.g. standard version) via features.

Feature requests: what underlying problem are you trying to solve with this feature?

I want to not add compiler dependent flags to .bazelrc nor to my rules. Instead, I believe some of the common options (e.g. --std=c++17) could be best modelled by features. Moreover, this would add clear documentation w.r.t. what's the default standard on each toolchain as opposed to being hardcoded (https://github.com/bazelbuild/rules_cc/search?q=%22-std%3Dc%2B%2B%22).

Have you found anything relevant by searching the web?

@comius comius added the P4 Acknowledged issue. It's unlikely that the team will ever fix this issue. label Dec 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P4 Acknowledged issue. It's unlikely that the team will ever fix this issue.
Projects
None yet
Development

No branches or pull requests

2 participants