[build] Don't build imgui for Athena (#6871)

This commit is contained in:
Gold856
2024-07-23 10:29:18 -04:00
committed by GitHub
parent e3a5299552
commit aa44b2fd1e

View File

@@ -24,7 +24,6 @@ nativeUtils.platformConfigs.named('osxuniversal') {
}
model {
components {
imgui(NativeLibrarySpec) {
sources {
@@ -50,6 +49,10 @@ model {
}
}
binaries.all {
if (it.targetPlatform.name == nativeUtils.wpi.platforms.roborio) {
it.buildable = false
return
}
if (toolChain in VisualCpp) {
cppCompiler.args '-D_UNICODE', '-DUNICODE', '-DWIN32', '-D_WIN32', '-DSTRICT', '-DWIN32_LEAN_AND_MEAN', '-D_HAS_EXCEPTIONS=1'
} else {