Moves NI headers to their own folder in the repo (#324)

This commit is contained in:
Thad House
2016-11-04 01:22:28 -07:00
committed by Peter Johnson
parent 03d8f9193b
commit 3fe0f49ac0
149 changed files with 32 additions and 453 deletions

View File

@@ -1,5 +1,5 @@
// These add the nilibraries shared library to the linker args
def niLibraryPath = file('ni-libraries').path
def niLibraryPath = file('ni-libraries/lib').path
def niLibrary = niLibraryPath + "/libnilibraries.so"
task downloadArmNetworkTables() {
@@ -268,6 +268,9 @@ subprojects {
}
}
ext.niLibraryHeadersRoot = "${rootDir}/ni-libraries/include"
ext.niLibraryHeadersChipObject = "${rootDir}/ni-libraries/include/FRC_FPGA_ChipObject"
// This task adds the appropriate linker flags for the NI libraries
ext.addNiLibraryLinks = { linker, targetPlatform ->
String architecture = targetPlatform.architecture