Default to building for all platforms

This commit is contained in:
Thad House 2022-11-03 20:59:11 -07:00
parent 1307c38642
commit ddd5cfb58e

View File

@ -22,17 +22,17 @@ nativeUtils.wpi.addWarningsAsErrors()
nativeUtils.setSinglePrintPerPlatform() nativeUtils.setSinglePrintPerPlatform()
model { model {
components { // Uncomment this, and remove lines below it to enable builds for just roborio
all {
targetPlatform nativeUtils.wpi.platforms.roborio
}
}
// Uncomment this, and remove above lines to enable builds for all platforms
// components { // components {
// all { // all {
// nativeUtils.useAllPlatforms(it) // targetPlatform nativeUtils.wpi.platforms.roborio
// } // }
// } // }
components {
all {
nativeUtils.useAllPlatforms(it)
}
}
binaries { binaries {
withType(NativeBinarySpec).all { withType(NativeBinarySpec).all {
nativeUtils.usePlatformArguments(it) nativeUtils.usePlatformArguments(it)