There was an error while loading. Please reload this page.
1 parent 44c41cb commit d847b87Copy full SHA for d847b87
1 file changed
.bazelrc
@@ -1,8 +1,16 @@
1
# TODO: b/332650707 - Explicitly disable bzlmod until supported.
2
always --noenable_bzlmod
3
+
4
# Minumum C++ version. Override it building this project with
5
# `bazel build --cxxopt='-std=c++<XY>' --host_cxxopt='c++<XY>' ...`
6
# (Both -std and --host_cxxopt must be set to force the desired version.)
7
build --cxxopt='-std=c++17' --host_cxxopt='-std=c++17'
8
build --java_language_version=8
9
build --java_runtime_version=local_jdk
10
11
+# Silence all C/C++ warnings in external code.
12
+#
13
+# Note that this will not silence warnings from external headers included
14
+# in project code.
15
+build --per_file_copt=external/.*@-w
16
+build --host_per_file_copt=external/.*@-w
0 commit comments