Files
allwpilib/simulation/halsim_print/build.gradle
Thad House ce4c9edd1f Fixes halsim_print to not try and build when the 'onlyAthena' flag has been set (#685)
Building a non-athena library in athena only is not possible.
2017-10-25 10:52:35 -07:00

29 lines
651 B
Groovy

description = "A simulation shared object that simply prints robot behaviors"
apply plugin: 'edu.wpi.first.NativeUtils'
apply plugin: 'cpp'
if (!project.hasProperty('onlyAthena')) {
ext.skipAthena = true
apply from: "../../config.gradle"
model {
components {
halsim_print(NativeLibrarySpec)
}
binaries {
all {
project(':hal').addHalCompilerArguments(it)
project(':hal').addHalToLinker(it)
}
withType(StaticLibraryBinarySpec) {
it.buildable = false
}
}
}
apply from: 'publish.gradle'
}