mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +00:00
tests.gradle: Link to wpiutil.
This commit is contained in:
@@ -34,6 +34,9 @@ model {
|
||||
withType(GoogleTestTestSuiteBinarySpec) {
|
||||
lib project: ':gmock', library: "gmock", linkage: "static"
|
||||
lib library: 'cameraserver', linkage: 'static'
|
||||
tasks.withType(CppCompile) {
|
||||
project.addWpiUtilLibraryLinks(it, linker, targetPlatform)
|
||||
}
|
||||
if (targetPlatform.operatingSystem.windows) {
|
||||
cppCompiler.args '/EHsc', '/DNOMINMAX', '/D_SCL_SECURE_NO_WARNINGS', '/D_WINSOCK_DEPRECATED_NO_WARNINGS'
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user