mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-05 03:21:42 +00:00
Use external dependencies for NI and NetComm libraries (#1304)
This removes a number of large binary files from the repo and enables vendors to depend on these libraries separately.
This commit is contained in:
committed by
Peter Johnson
parent
bedef476fd
commit
d2a5aaafdd
@@ -19,6 +19,14 @@ apply from: "${rootDir}/shared/opencv.gradle"
|
||||
|
||||
apply from: "${rootDir}/shared/googletest.gradle"
|
||||
|
||||
ext {
|
||||
chipObjectComponents = ['wpilibcIntegrationTests']
|
||||
netCommComponents = ['wpilibcIntegrationTests']
|
||||
useNiJava = false
|
||||
}
|
||||
|
||||
apply from: "${rootDir}/shared/nilibraries.gradle"
|
||||
|
||||
model {
|
||||
components {
|
||||
wpilibcIntegrationTests(NativeExecutableSpec) {
|
||||
@@ -45,10 +53,9 @@ model {
|
||||
lib project: ':wpilibc', library: 'wpilibc', linkage: 'shared'
|
||||
lib project: ':ntcore', library: 'ntcore', linkage: 'shared'
|
||||
lib project: ':cscore', library: 'cscore', linkage: 'shared'
|
||||
lib project: ':hal', library: 'hal', linkage: 'shared'
|
||||
project(':hal').addHalDependency(binary, 'shared')
|
||||
lib project: ':wpiutil', library: 'wpiutil', linkage: 'shared'
|
||||
lib project: ':cameraserver', library: 'cameraserver', linkage: 'shared'
|
||||
project(':ni-libraries').addNiLibrariesToLinker(binary)
|
||||
} else {
|
||||
binary.sources {
|
||||
simCpp(CppSourceSet) {
|
||||
|
||||
Reference in New Issue
Block a user