| # Minumum C++ version. Override it building this project with |
| # `bazel build --cxxopt='-std=c++<XY>' --host_cxxopt='c++<XY>' ...` |
| # (Both -std and --host_cxxopt must be set to force the desired version.) |
| build --cxxopt='-std=c++14' --host_cxxopt='-std=c++14' |
| build --java_language_version=8 |
| build --java_runtime_version=local_jdk |
| |
| # Silence all C/C++ warnings in external code. |
| # |
| # Note that this will not silence warnings from external headers included |
| # in project code. |
| build --per_file_copt=external/.*@-w |
| build --host_per_file_copt=external/.*@-w |