[build] Add generateProto dependency to test and dev (#5933)

This commit is contained in:
Peter Johnson
2023-11-17 10:39:28 -06:00
committed by GitHub
parent cfbff32185
commit ead9ae5a69

View File

@@ -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)
}