Skip to content

Commit c1e9fa3

Browse files
RaduNichitaneatudarius
authored andcommitted
CMakePresets: Update to add support for clang-19 and gcc-13
Signed-off-by: Radu Nichita <[email protected]>
1 parent 6d2e203 commit c1e9fa3

File tree

1 file changed

+141
-0
lines changed

1 file changed

+141
-0
lines changed

CMakePresets.json

Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,40 @@
3131
"description": "Build with GCC 14 compilers",
3232
"toolchainFile": "${sourceDir}/etc/gcc-14-toolchain.cmake"
3333
},
34+
{
35+
"name": "gcc-13",
36+
"inherits": "common",
37+
"displayName": "GCC 13",
38+
"description": "Build with GCC 13 compilers",
39+
"toolchainFile": "${sourceDir}/etc/gcc-13-toolchain.cmake"
40+
},
41+
{
42+
"name": "gcc-12",
43+
"inherits": "common",
44+
"displayName": "GCC 12",
45+
"description": "Build with GCC 12 compilers",
46+
"toolchainFile": "${sourceDir}/etc/gcc-12-toolchain.cmake"
47+
},
48+
{
49+
"name": "clang-19",
50+
"inherits": "common",
51+
"displayName": "Clang 19",
52+
"description": "Build with Clang 19 compilers",
53+
"toolchainFile": "${sourceDir}/etc/clang-19-toolchain.cmake"
54+
},
3455
{
3556
"name": "clang-18",
3657
"inherits": "common",
3758
"displayName": "Clang 18",
3859
"description": "Build with Clang 18 compilers",
3960
"toolchainFile": "${sourceDir}/etc/clang-18-toolchain.cmake"
61+
},
62+
{
63+
"name": "clang-17",
64+
"inherits": "common",
65+
"displayName": "Clang 17",
66+
"description": "Build with Clang 17 compilers",
67+
"toolchainFile": "${sourceDir}/etc/clang-17-toolchain.cmake"
4068
}
4169
],
4270
"buildPresets": [
@@ -47,21 +75,45 @@
4775
},
4876
{
4977
"name": "system",
78+
"inherits": "common",
5079
"configurePreset": "system"
5180
},
5281
{
5382
"name": "gcc-14",
83+
"inherits": "common",
5484
"configurePreset": "gcc-14"
5585
},
86+
{
87+
"name": "gcc-13",
88+
"inherits": "common",
89+
"configurePreset": "gcc-13"
90+
},
91+
{
92+
"name": "gcc-12",
93+
"inherits": "common",
94+
"configurePreset": "gcc-12"
95+
},
96+
{
97+
"name": "clang-19",
98+
"inherits": "common",
99+
"configurePreset": "clang-19"
100+
},
56101
{
57102
"name": "clang-18",
103+
"inherits": "common",
58104
"configurePreset": "clang-18"
105+
},
106+
{
107+
"name": "clang-17",
108+
"inherits": "common",
109+
"configurePreset": "clang-17"
59110
}
60111
],
61112
"testPresets": [
62113
{
63114
"name": "common",
64115
"hidden": true,
116+
"configuration": "Asan",
65117
"output": {
66118
"outputOnFailure": true
67119
},
@@ -80,10 +132,30 @@
80132
"inherits": "common",
81133
"configurePreset": "gcc-14"
82134
},
135+
{
136+
"name": "gcc-13",
137+
"inherits": "common",
138+
"configurePreset": "gcc-13"
139+
},
140+
{
141+
"name": "gcc-12",
142+
"inherits": "common",
143+
"configurePreset": "gcc-12"
144+
},
145+
{
146+
"name": "clang-19",
147+
"inherits": "common",
148+
"configurePreset": "clang-19"
149+
},
83150
{
84151
"name": "clang-18",
85152
"inherits": "common",
86153
"configurePreset": "clang-18"
154+
},
155+
{
156+
"name": "clang-17",
157+
"inherits": "common",
158+
"configurePreset": "clang-17"
87159
}
88160
],
89161
"workflowPresets": [
@@ -121,6 +193,57 @@
121193
}
122194
]
123195
},
196+
{
197+
"name": "gcc-13",
198+
"steps": [
199+
{
200+
"type": "configure",
201+
"name": "gcc-13"
202+
},
203+
{
204+
"type": "build",
205+
"name": "gcc-13"
206+
},
207+
{
208+
"type": "test",
209+
"name": "gcc-13"
210+
}
211+
]
212+
},
213+
{
214+
"name": "gcc-12",
215+
"steps": [
216+
{
217+
"type": "configure",
218+
"name": "gcc-12"
219+
},
220+
{
221+
"type": "build",
222+
"name": "gcc-12"
223+
},
224+
{
225+
"type": "test",
226+
"name": "gcc-12"
227+
}
228+
]
229+
},
230+
{
231+
"name": "clang-19",
232+
"steps": [
233+
{
234+
"type": "configure",
235+
"name": "clang-19"
236+
},
237+
{
238+
"type": "build",
239+
"name": "clang-19"
240+
},
241+
{
242+
"type": "test",
243+
"name": "clang-19"
244+
}
245+
]
246+
},
124247
{
125248
"name": "clang-18",
126249
"steps": [
@@ -137,6 +260,24 @@
137260
"name": "clang-18"
138261
}
139262
]
263+
},
264+
{
265+
"name": "clang-17",
266+
"steps": [
267+
{
268+
"type": "configure",
269+
"name": "clang-17"
270+
},
271+
{
272+
"type": "build",
273+
"name": "clang-17"
274+
},
275+
{
276+
"type": "test",
277+
"name": "clang-17"
278+
}
279+
]
140280
}
141281
]
142282
}
283+

0 commit comments

Comments
 (0)