Initial commit
This commit is contained in:
33
.bazelrc
Normal file
33
.bazelrc
Normal file
@ -0,0 +1,33 @@
|
||||
common --registry=https://bcr.bazel.build
|
||||
common --registry=https://git.stevenlr.com/460nm/bazel-registry.git/plain/
|
||||
|
||||
build:windows --extra_execution_platforms=//:x64_windows-clang-cl
|
||||
# @Todo(bazel) We should be able to use @local_config_cc...
|
||||
build:windows --extra_toolchains=@@rules_cc++cc_configure_extension+local_config_cc//:cc-toolchain-x64_windows-clang-cl
|
||||
|
||||
build:windows --cxxopt=-Xclang=-std=c++20
|
||||
|
||||
common --incompatible_autoload_externally=+@rules_python
|
||||
|
||||
build --cxxopt=-Wall
|
||||
build --cxxopt=-Wno-c++98-compat
|
||||
build --cxxopt=-Wno-c++98-compat-pedantic
|
||||
build --cxxopt=-Wno-pre-c++17-compat
|
||||
build --cxxopt=-Wno-c++20-compat
|
||||
build --cxxopt=-Wno-unused-macros
|
||||
build --cxxopt=-Wno-documentation-unknown-command
|
||||
build --cxxopt=-Wno-extra-semi-stmt
|
||||
build --cxxopt=-Wno-extra-semi
|
||||
build --cxxopt=-Wno-global-constructors
|
||||
build --cxxopt=-Wno-unsafe-buffer-usage
|
||||
build --cxxopt=-Wno-covered-switch-default
|
||||
|
||||
build:windows_san --config=windows
|
||||
build:windows_san --copt=-fno-sanitize-ignorelist
|
||||
build:windows_san --copt=-fsanitize=address
|
||||
build:windows_san --copt=-fsanitize=undefined
|
||||
build:windows_san --copt=-fno-sanitize-recover=all
|
||||
build:windows_san --linkopt=clang_rt.asan-x86_64.lib
|
||||
build:windows_san --copt=/MT
|
||||
|
||||
test --test_output=errors
|
Reference in New Issue
Block a user