Skip to content

Commit b8ae10b

Browse files
committed
Enable clang-16 local support
1 parent 65fa683 commit b8ae10b

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

CMakePresets.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,13 @@
7272
"displayName": "Clang 17",
7373
"description": "Build with Clang 17 compilers",
7474
"toolchainFile": "${sourceDir}/etc/clang-17-toolchain.cmake"
75+
},
76+
{
77+
"name": "clang-16",
78+
"inherits": "common",
79+
"displayName": "Clang 16",
80+
"description": "Build with Clang 16 compilers",
81+
"toolchainFile": "${sourceDir}/etc/clang-16-toolchain.cmake"
7582
}
7683
],
7784
"buildPresets": [
@@ -119,6 +126,11 @@
119126
"name": "clang-17",
120127
"inherits": "common",
121128
"configurePreset": "clang-17"
129+
},
130+
{
131+
"name": "clang-16",
132+
"inherits": "common",
133+
"configurePreset": "clang-16"
122134
}
123135
],
124136
"testPresets": [
@@ -173,6 +185,11 @@
173185
"name": "clang-17",
174186
"inherits": "common",
175187
"configurePreset": "clang-17"
188+
},
189+
{
190+
"name": "clang-16",
191+
"inherits": "common",
192+
"configurePreset": "clang-16"
176193
}
177194
],
178195
"workflowPresets": [
@@ -311,6 +328,23 @@
311328
"name": "clang-17"
312329
}
313330
]
331+
},
332+
{
333+
"name": "clang-16",
334+
"steps": [
335+
{
336+
"type": "configure",
337+
"name": "clang-16"
338+
},
339+
{
340+
"type": "build",
341+
"name": "clang-16"
342+
},
343+
{
344+
"type": "test",
345+
"name": "clang-16"
346+
}
347+
]
314348
}
315349
]
316350
}

0 commit comments

Comments
 (0)