summaryrefslogtreecommitdiff
path: root/.bazelrc
blob: ff75819366c644dbdfe90f3cedf4a749aa7be68f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
build -c fastbuild --enable_platform_specific_config
build --repo_env=CC=clang++

build:linux --cxxopt="-std=c++20" --cxxopt="-Weverything" --cxxopt="-Wno-c++98-compat"

build:macos --cxxopt="-std=c++20" --cxxopt="-Weverything" --cxxopt="-Wno-c++98-compat"

# https://blog.bazel.build/2018/01/19/config-parsing-order.html
build:opt --config=linux --copt="-03"
build:opt --config=macos --copt="-03"
build:opt --config=windows --copt="/GL

build:windows --cxxopt="/std:c++latest" --copt="/W4" --copt="/WX" # --copt="/Wall"