blob: 1fe4d2950bcb43ccb958fa40aff7a7f9314bfa00 [file] [log] [blame]
Austin Schuh1e69f942020-11-14 15:06:14 -08001if (!project.hasProperty('onlylinuxathena')) {
2
3 description = "WebSocket Client Extension"
4
5 ext {
6 includeWpiutil = true
7 pluginName = 'halsim_ws_client'
8 }
9
10 apply plugin: 'google-test-test-suite'
11
12
13 ext {
14 staticGtestConfigs = [:]
15 }
16
17 staticGtestConfigs["${pluginName}Test"] = []
18 apply from: "${rootDir}/shared/googletest.gradle"
19
20 apply from: "${rootDir}/shared/plugins/setupBuild.gradle"
21
22 model {
23 binaries {
24 all {
25 if (it.targetPlatform.name == nativeUtils.wpi.platforms.roborio) {
26 it.buildable = false
27 return
28 }
29
James Kuszmaulcf324122023-01-14 14:07:17 -080030 lib project: ':wpinet', library: 'wpinet', linkage: 'shared'
Austin Schuh1e69f942020-11-14 15:06:14 -080031 lib project: ":simulation:halsim_ws_core", library: "halsim_ws_core", linkage: "static"
Austin Schuh1e69f942020-11-14 15:06:14 -080032 }
33 }
34 }
35}