mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-30 02:31:44 +00:00
24 lines
647 B
Groovy
24 lines
647 B
Groovy
|
|
apply plugin: 'cpp'
|
||
|
|
|
||
|
|
model {
|
||
|
|
components {
|
||
|
|
HALAthena(NativeLibrarySpec) {
|
||
|
|
targetPlatform 'arm'
|
||
|
|
tasks.withType(CppCompile) {
|
||
|
|
dependsOn addNiLibraryLinks
|
||
|
|
}
|
||
|
|
sources {
|
||
|
|
cpp {
|
||
|
|
source {
|
||
|
|
srcDirs = ["lib/Athena", "lib/Athena/FRC_FPGA_ChipObject"]
|
||
|
|
includes = ["**/*.cpp"]
|
||
|
|
}
|
||
|
|
exportedHeaders {
|
||
|
|
srcDirs = ["include", "lib/Athena", "lib/Athena/FRC_FPGA_ChipObject"]
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|