-
Notifications
You must be signed in to change notification settings - Fork 3
/
CMakePresets.json
142 lines (142 loc) · 2.88 KB
/
CMakePresets.json
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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
{
"version": 6,
"cmakeMinimumRequired": {
"major": 3,
"minor": 29,
"patch": 2
},
"configurePresets": [
{
"name": "common",
"description": "General settings that apply to all configurations",
"hidden": true,
"generator": "Ninja Multi-Config",
"binaryDir": "${sourceDir}/.build/${presetName}",
"installDir": "${sourceDir}/.install/${presetName}",
"cacheVariables": {
"CMAKE_CONFIGURATION_TYPES": "RelWithDebInfo;Debug;Tsan;Asan"
}
},
{
"name": "system",
"inherits": "common",
"displayName": "System compiler",
"description": "Build with default cc and c++ compilers",
"toolchainFile": "${sourceDir}/etc/toolchain.cmake"
},
{
"name": "gcc-14",
"inherits": "common",
"displayName": "GCC 14",
"description": "Build with GCC 14 compilers",
"toolchainFile": "${sourceDir}/etc/gcc-14-toolchain.cmake"
},
{
"name": "clang-18",
"inherits": "common",
"displayName": "Clang 18",
"description": "Build with Clang 18 compilers",
"toolchainFile": "${sourceDir}/etc/clang-18-toolchain.cmake"
}
],
"buildPresets": [
{
"name": "common",
"hidden": true,
"configuration": "Asan"
},
{
"name": "system",
"configurePreset": "system"
},
{
"name": "gcc-14",
"configurePreset": "gcc-14"
},
{
"name": "clang-18",
"configurePreset": "clang-18"
}
],
"testPresets": [
{
"name": "common",
"hidden": true,
"output": {
"outputOnFailure": true
},
"execution": {
"noTestsAction": "error",
"stopOnFailure": true
}
},
{
"name": "system",
"inherits": "common",
"configurePreset": "system"
},
{
"name": "gcc-14",
"inherits": "common",
"configurePreset": "gcc-14"
},
{
"name": "clang-18",
"inherits": "common",
"configurePreset": "clang-18"
}
],
"workflowPresets": [
{
"name": "system",
"steps": [
{
"type": "configure",
"name": "system"
},
{
"type": "build",
"name": "system"
},
{
"type": "test",
"name": "system"
}
]
},
{
"name": "gcc-14",
"steps": [
{
"type": "configure",
"name": "gcc-14"
},
{
"type": "build",
"name": "gcc-14"
},
{
"type": "test",
"name": "gcc-14"
}
]
},
{
"name": "clang-18",
"steps": [
{
"type": "configure",
"name": "clang-18"
},
{
"type": "build",
"name": "clang-18"
},
{
"type": "test",
"name": "clang-18"
}
]
}
]
}