-
-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathCMakePresets.json
More file actions
128 lines (128 loc) · 3.14 KB
/
Copy pathCMakePresets.json
File metadata and controls
128 lines (128 loc) · 3.14 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"version": 6,
"cmakeMinimumRequired": {
"major": 4,
"minor": 0,
"patch": 0
},
"configurePresets": [
{
"name": "release",
"displayName": "Release",
"description": "Default optimized build.",
"binaryDir": "${sourceDir}/build/release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "debug",
"displayName": "Debug",
"description": "Debug build for local development.",
"binaryDir": "${sourceDir}/build/debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "strict",
"displayName": "Strict Warnings",
"description": "Release build with strict compiler warnings; Clang and GNU warnings are treated as errors.",
"binaryDir": "${sourceDir}/build/strict",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"SMASHPP_STRICT_WARNINGS": "ON"
}
},
{
"name": "sanitizers",
"displayName": "Sanitizers",
"description": "RelWithDebInfo build with ASan/UBSan and OpenMP disabled.",
"binaryDir": "${sourceDir}/build/sanitizers",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"SMASHPP_ENABLE_OPENMP": "OFF",
"SMASHPP_ENABLE_SANITIZERS": "ON",
"SMASHPP_STRICT_WARNINGS": "ON"
}
},
{
"name": "benchmark-smoke",
"displayName": "Benchmark Smoke",
"description": "Tiny benchmark inputs for checking benchmark harness behavior.",
"binaryDir": "${sourceDir}/build/benchmark-smoke",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"SMASHPP_BENCHMARK_RUNS": "1",
"SMASHPP_BENCHMARK_SMALL_BYTES": "32768",
"SMASHPP_BENCHMARK_LARGE_BYTES": "1048576"
}
}
],
"buildPresets": [
{
"name": "release",
"configurePreset": "release",
"configuration": "Release"
},
{
"name": "debug",
"configurePreset": "debug",
"configuration": "Debug"
},
{
"name": "strict",
"configurePreset": "strict",
"configuration": "Release"
},
{
"name": "sanitizers",
"configurePreset": "sanitizers",
"configuration": "RelWithDebInfo"
},
{
"name": "benchmark-smoke",
"configurePreset": "benchmark-smoke",
"configuration": "Release"
}
],
"testPresets": [
{
"name": "release",
"configurePreset": "release",
"configuration": "Release",
"output": {
"outputOnFailure": true
}
},
{
"name": "strict",
"configurePreset": "strict",
"configuration": "Release",
"output": {
"outputOnFailure": true
}
},
{
"name": "sanitizers",
"configurePreset": "sanitizers",
"configuration": "RelWithDebInfo",
"output": {
"outputOnFailure": true
}
},
{
"name": "benchmark-smoke",
"configurePreset": "benchmark-smoke",
"configuration": "Release",
"filter": {
"include": {
"name": "smashpp-benchmark-suite-smoke"
}
},
"output": {
"outputOnFailure": true
}
}
]
}