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"] } } } } } }