-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
44 lines (38 loc) · 1.25 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import org.gradle.internal.os.OperatingSystem
plugins {
id 'cpp'
id 'edu.wpi.first.NativeUtils' version '1.7.0'
id 'edu.wpi.first.wpilib.versioning.WPILibVersioningPlugin' version '2.1'
}
apply from: 'config.gradle'
//This project exists just to provide common headers (at least for now)
model {
exportsConfigs {
CTRE_PhoenixCore(ExportsConfig) {
x86ExcludeSymbols = ['_CT??_R0?AV_System_error', '_CT??_R0?AVexception', '_CT??_R0?AVfailure',
'_CT??_R0?AVbad_cast',
'_CT??_R0?AVruntime_error', '_CT??_R0?AVsystem_error', '_CTA5?AVfailure',
'_TI5?AVfailure']
x64ExcludeSymbols = ['_CT??_R0?AV_System_error', '_CT??_R0?AVexception', '_CT??_R0?AVfailure',
'_CT??_R0?AVbad_cast',
'_CT??_R0?AVruntime_error', '_CT??_R0?AVsystem_error', '_CTA5?AVfailure',
'_TI5?AVfailure']
}
}
components {
FakeLibForPublish(NativeLibrarySpec) {
sources {
cpp {
source {
srcDirs 'blank'
include '**/*.cpp'
}
}
}
}
}
}
apply from: 'publish.gradle'
wrapper {
gradleVersion = '4.9'
}