forked from intel/cicd-repo-infrastructure
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakePresets.json
44 lines (44 loc) · 920 Bytes
/
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
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 21,
"patch": 0
},
"configurePresets": [
{
"name": "base",
"hidden": true,
"generator": "Ninja",
"binaryDir": "${sourceDir}/build"
},
{
"name": "default",
"inherits": "base",
"description": "Build using Clang with libstdc++",
"toolchainFile": "${sourceDir}/toolchains/clang.cmake"
},
{
"name": "clang",
"inherits": "default"
},
{
"name": "clang-libstdc++",
"inherits": "default"
},
{
"name": "clang-libc++",
"inherits": "default",
"description": "Build using Clang with libc++",
"environment": {
"CXX_STDLIB": "libc++"
}
},
{
"name": "gcc",
"inherits": "base",
"description": "Build using GCC",
"toolchainFile": "${sourceDir}/toolchains/gcc.cmake"
}
]
}