bazelbuild / bazelbuild/rules_cc

Support toolchain agnostic common flags

Open
#391 1 comment 1 reaction 0 assignees View on GitHub
category: toolchains untriaged
Dominant language
Starlark
Stars
247
Forks
196
PR merge metrics
No merged PRs in 30d

Description

Most other C/C++ build systems provide abstractions over common flags, which are adapted for the currently configured toolchain. For example, if I want to set the C standard to C11 on GCC, I would use `-std=c11`, but on MSVC I would need `/std:c11`.

This seems like basic functionality that Bazel is missing.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.