summaryrefslogtreecommitdiff
path: root/.bazelrc
blob: fda09fb441fa3c649da964dede699dafce59d2c8 (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 --copt="-std=c89" --copt="-Weverything"

build:macos --copt="-std=c89" --copt="-Weverything"

# 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 --copt="/std:c11" --copt="/Ze" --copt="/W4" --copt="/WX" # --copt="/Wall"