-
-
Notifications
You must be signed in to change notification settings - Fork 227
/
CMakePresets.json
81 lines (81 loc) · 1.75 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
{
"version": 6,
"cmakeMinimumRequired": {
"major": 3,
"minor": 21,
"patch": 0
},
"configurePresets": [
{
"name": "base",
"hidden": true,
"generator": "Ninja Multi-Config",
"binaryDir": "${sourceDir}/build/${presetName}",
"toolset": { "value": "host=x64", "strategy": "external" }
},
{
"name": "x64",
"hidden": true,
"architecture": { "value": "x64", "strategy": "external" }
},
{
"name": "clang",
"hidden": true,
"cacheVariables": { "CMAKE_CXX_COMPILER": "clang++" }
},
{
"name": "gcc",
"hidden": true,
"cacheVariables": { "CMAKE_CXX_COMPILER": "g++" }
},
{
"name": "msvc",
"hidden": true,
"cacheVariables": { "CMAKE_CXX_COMPILER": "cl" }
},
{
"name": "clang-x64",
"inherits": ["base", "clang", "x64"]
},
{
"name": "gcc-x64",
"inherits": ["base", "gcc", "x64"]
},
{
"name": "msvc-x64",
"inherits": ["base", "msvc", "x64"]
}
],
"buildPresets": [
{
"name": "clang-x64-debug",
"configurePreset": "clang-x64",
"configuration": "Debug"
},
{
"name": "clang-x64-release",
"configurePreset": "clang-x64",
"configuration": "RelWithDebInfo"
},
{
"name": "gcc-x64-debug",
"configurePreset": "gcc-x64",
"configuration": "Debug"
},
{
"name": "gcc-x64-release",
"configurePreset": "gcc-x64",
"configuration": "RelWithDebInfo"
},
{
"name": "msvc-x64-debug",
"configurePreset": "msvc-x64",
"configuration": "Debug"
},
{
"name": "msvc-x64-release",
"configurePreset": "msvc-x64",
"configuration": "RelWithDebInfo"
}
]
}