mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[build] Add generateProto dependency to test and dev (#5933)
This commit is contained in:
@@ -223,6 +223,9 @@ model {
|
||||
nativeUtils.useRequiredLibrary(it, 'ni_link_libraries', 'ni_runtime_libraries')
|
||||
}
|
||||
}
|
||||
it.tasks.withType(CppCompile) {
|
||||
it.dependsOn generateProto
|
||||
}
|
||||
if (project.hasProperty('exeSplitSetup')) {
|
||||
exeSplitSetup(it)
|
||||
}
|
||||
@@ -276,6 +279,9 @@ model {
|
||||
nativeUtils.useRequiredLibrary(it, 'ni_link_libraries', 'ni_runtime_libraries')
|
||||
}
|
||||
}
|
||||
it.tasks.withType(CppCompile) {
|
||||
it.dependsOn generateProto
|
||||
}
|
||||
if (project.hasProperty('exeSplitSetup')) {
|
||||
exeSplitSetup(it)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user