[apriltag, build] Update native utils, add apriltag impl and JNI (#4733)

Co-authored-by: Peter Johnson <johnson.peter@gmail.com>
This commit is contained in:
Thad House
2022-11-30 00:16:29 -08:00
committed by GitHub
parent 53875419a1
commit 5e74ff26d8
17 changed files with 794 additions and 36 deletions

View File

@@ -14,6 +14,7 @@ if (!project.hasProperty('onlylinuxathena')) {
}
apply from: "${rootDir}/shared/config.gradle"
apply from: "${rootDir}/shared/imgui.gradle"
nativeUtils.exportsConfigs {
wpigui {
@@ -48,7 +49,7 @@ if (!project.hasProperty('onlylinuxathena')) {
}
}
binaries.all {
nativeUtils.useRequiredLibrary(it, 'imgui_static')
nativeUtils.useRequiredLibrary(it, 'imgui')
if (it.targetPlatform.name == nativeUtils.wpi.platforms.roborio) {
it.buildable = false
return
@@ -114,7 +115,7 @@ if (!project.hasProperty('onlylinuxathena')) {
}
binaries.all {
lib library: 'wpigui'
nativeUtils.useRequiredLibrary(it, 'imgui_static')
nativeUtils.useRequiredLibrary(it, 'imgui')
}
}
}