-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.bazelrc
More file actions
24 lines (18 loc) · 744 Bytes
/
.bazelrc
File metadata and controls
24 lines (18 loc) · 744 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
common --enable_bzlmod
# Linux/Mac default (GCC or Clang)
build:linux --copt=-std=c++20
build:linux --host_copt=-std=c++20
# Windows-specific
# build:windows is a custom config name
# Bazel doesn't automatically map the Windows platform to this
# It requires --config=windows
build:windows --enable_platform_specific_config
build:windows --cpu=x64_windows
build:windows --copt=/std:c++20
build:windows --host_copt=/std:c++20
build:windows --shell_executable=C:/msys64/usr/bin/bash.exe
build:windows --action_env=BAZEL_LLVM="C:/Program Files/LLVM"
build:windows --shell_executable=C:/tools/msys64/usr/bin/bash.exe
build:windows --build --enable_runfiles
# Auto-detect platform and apply config
build:auto --enable_platform_specific_config