mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[bazel] Handle debug symbols and debug builds like gradle (#8118)
This follows the gradle build accurately. Gradle copies debug symbols into a second file (libfoo.so.debug) and links it back into the .so file. Disable this behavior when gradle doesn't do it today. Also, name everything correctly. When building debug builds, most libraries get a 'd' at the end of them. Do that here too.
This commit is contained in:
@@ -27,3 +27,6 @@ build:windows_arm --platforms="@rules_bzlmodrio_toolchains//platforms/windows_ar
|
||||
build:windows --host_copt=/wd4141
|
||||
# Ignore utf8 warning in tools
|
||||
build:windows --host_copt=/wd4715
|
||||
|
||||
# Disable the C++17 feature in the windows compiler
|
||||
build:windows --features=-default_cpp_std --host_features=-default_cpp_std
|
||||
|
||||
Reference in New Issue
Block a user