如何在bazel BUILD文件中指定-std = c ++ 11选项?

Hin*_*sum 4 c++ target c++11 bazel

如何将此选项添加到目标描述部分?

谢谢。

P.W*_*P.W 6

添加bazel build --cxxopt='-std=c++11'.bazelrc文件。