-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakePresets.json
192 lines (181 loc) · 8.93 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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
{
"version": 5,
"cmakeMinimumRequired": {
"major": 3,
"minor": 25,
"patch": 0
},
"configurePresets": [
{
"name": "ninja",
"hidden": true,
"generator": "Ninja",
"cacheVariables": {
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
}
},
{
"name": "default",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install/${presetName}"
},
"inherits": [
"ninja"
],
"hidden": true
},
{
"name": "clang15",
"cacheVariables": {
"CMAKE_C_COMPILER": "clang-15",
"CMAKE_CXX_COMPILER": "clang++-15"
},
"inherits": [
"default"
],
"hidden": true
},
{
"name": "clang16",
"cacheVariables": {
"CMAKE_C_COMPILER": "clang-16",
"CMAKE_CXX_COMPILER": "clang++-16"
},
"inherits": [
"default"
],
"hidden": true
},
{
"name": "clang17",
"cacheVariables": {
"CMAKE_C_COMPILER": "clang-17",
"CMAKE_CXX_COMPILER": "clang++-17"
},
"inherits": [
"default"
],
"hidden": true
},
{
"name": "gcc12",
"cacheVariables": {
"CMAKE_C_COMPILER": "gcc-12",
"CMAKE_CXX_COMPILER": "g++-12"
},
"inherits": [
"default"
],
"hidden": true
},
{
"name": "gcc13",
"cacheVariables": {
"CMAKE_C_COMPILER": "gcc-13",
"CMAKE_CXX_COMPILER": "g++-13"
},
"inherits": [
"default"
],
"hidden": true
},
{
"name": "mscv",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
},
"cacheVariables": {
"CMAKE_C_COMPILER": "cl",
"CMAKE_CXX_COMPILER": "cl"
},
"inherits": [
"default"
],
"hidden": true
},
{
"name": "debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
},
"hidden": true
},
{
"name": "release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_INTERPROCEDURAL_OPTIMIZATION": true
},
"hidden": true
},
{
"name": "rwdi",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"CMAKE_INTERPROCEDURAL_OPTIMIZATION": true
},
"hidden": true
},
{
"name": "msr",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "MinSizeRel",
"CMAKE_INTERPROCEDURAL_OPTIMIZATION": true
},
"hidden": true
},
{ "name": "msvc-x64-debug", "displayName": "MSVC x64 Debug", "description": "mscv for x64 (Debug)", "inherits": [ "mscv", "debug" ] },
{ "name": "msvc-x64-release", "displayName": "MSVC x64 Release", "description": "mscv for x64 (Release)", "inherits": [ "mscv", "release" ] },
{ "name": "msvc-x64-rwdi", "displayName": "MSVC x64 RelWithDebInfo", "description": "mscv for x64 (RelWithDebInfo)", "inherits": [ "mscv", "rwdi" ] },
{ "name": "msvc-x64-msr", "displayName": "MSVC x64 MinSizeRel", "description": "mscv for x64 (MinSizeRel)", "inherits": [ "mscv", "msr" ] },
{ "name": "gcc12-x64-debug", "displayName": "gcc-12 x64 Debug", "description": "gcc12 for x64 (Debug)", "inherits": [ "gcc12", "debug" ] },
{ "name": "gcc12-x64-release", "displayName": "gcc-12 x64 Release", "description": "gcc12 for x64 (Release)", "inherits": [ "gcc12", "release" ] },
{ "name": "gcc12-x64-rwdi", "displayName": "gcc-12 x64 RelWithDebInfo", "description": "gcc12 for x64 (RelWithDebInfo)", "inherits": [ "gcc12", "rwdi" ] },
{ "name": "gcc12-x64-msr", "displayName": "gcc-12 x64 MinSizeRel", "description": "gcc12 for x64 (MinSizeRel)", "inherits": [ "gcc12", "msr" ] },
{ "name": "gcc13-x64-debug", "displayName": "gcc-13 x64 Debug", "description": "gcc13 for x64 (Debug)", "inherits": [ "gcc13", "debug" ] },
{ "name": "gcc13-x64-release", "displayName": "gcc-13 x64 Release", "description": "gcc13 for x64 (Release)", "inherits": [ "gcc13", "release" ] },
{ "name": "gcc13-x64-rwdi", "displayName": "gcc-13 x64 RelWithDebInfo", "description": "gcc13 for x64 (RelWithDebInfo)", "inherits": [ "gcc13", "rwdi" ] },
{ "name": "gcc13-x64-msr", "displayName": "gcc-13 x64 MinSizeRel", "description": "gcc13 for x64 (MinSizeRel)", "inherits": [ "gcc13", "msr" ] },
{ "name": "clang15-x64-debug", "displayName": "clang-15 x64 Debug", "description": "clang15 for x64 (Debug)", "inherits": [ "clang15", "debug" ] },
{ "name": "clang15-x64-release", "displayName": "clang-15 x64 Release", "description": "clang15 for x64 (Release)", "inherits": [ "clang15", "release" ] },
{ "name": "clang15-x64-rwdi", "displayName": "clang-15 x64 RelWithDebInfo", "description": "clang15 for x64 (RelWithDebInfo)", "inherits": [ "clang15", "rwdi" ] },
{ "name": "clang15-x64-msr", "displayName": "clang-15 x64 MinSizeRel", "description": "clang15 for x64 (MinSizeRel)", "inherits": [ "clang15", "msr" ] },
{ "name": "clang16-x64-debug", "displayName": "clang-16 x64 Debug", "description": "clang16 for x64 (Debug)", "inherits": [ "clang16", "debug" ] },
{ "name": "clang16-x64-release", "displayName": "clang-16 x64 Release", "description": "clang16 for x64 (Release)", "inherits": [ "clang16", "release" ] },
{ "name": "clang16-x64-rwdi", "displayName": "clang-16 x64 RelWithDebInfo", "description": "clang16 for x64 (RelWithDebInfo)", "inherits": [ "clang16", "rwdi" ] },
{ "name": "clang16-x64-msr", "displayName": "clang-16 x64 MinSizeRel", "description": "clang16 for x64 (MinSizeRel)", "inherits": [ "clang16", "msr" ] },
{ "name": "clang17-x64-debug", "displayName": "clang-17 x64 Debug", "description": "clang17 for x64 (Debug)", "inherits": [ "clang17", "debug" ] },
{ "name": "clang17-x64-release", "displayName": "clang-17 x64 Release", "description": "clang17 for x64 (Release)", "inherits": [ "clang17", "release" ] },
{ "name": "clang17-x64-rwdi", "displayName": "clang-17 x64 RelWithDebInfo", "description": "clang17 for x64 (RelWithDebInfo)", "inherits": [ "clang17", "rwdi" ] },
{ "name": "clang17-x64-msr", "displayName": "clang-17 x64 MinSizeRel", "description": "clang17 for x64 (MinSizeRel)", "inherits": [ "clang17", "msr" ] }
],
"buildPresets": [
{ "name": "msvc-x64-debug", "displayName": "MSVC x64 Debug", "configurePreset": "msvc-x64-debug" },
{ "name": "msvc-x64-release", "displayName": "MSVC x64 Release", "configurePreset": "msvc-x64-release" },
{ "name": "msvc-x64-rwdi", "displayName": "MSVC x64 RelWithDebInfo", "configurePreset": "msvc-x64-rwdi" },
{ "name": "msvc-x64-msr", "displayName": "MSVC x64 MinSizeRel", "configurePreset": "msvc-x64-msr" },
{ "name": "gcc12-x64-debug", "displayName": "gcc-12 x64 Debug", "configurePreset": "gcc12-x64-debug" },
{ "name": "gcc12-x64-release", "displayName": "gcc-12 x64 Release", "configurePreset": "gcc12-x64-release" },
{ "name": "gcc12-x64-rwdi", "displayName": "gcc-12 x64 RelWithDebInfo", "configurePreset": "gcc12-x64-rwdi" },
{ "name": "gcc12-x64-msr", "displayName": "gcc-12 x64 MinSizeRel", "configurePreset": "gcc12-x64-msr" },
{ "name": "gcc13-x64-debug", "displayName": "gcc-13 x64 Debug", "configurePreset": "gcc13-x64-debug" },
{ "name": "gcc13-x64-release", "displayName": "gcc-13 x64 Release", "configurePreset": "gcc13-x64-release" },
{ "name": "gcc13-x64-rwdi", "displayName": "gcc-13 x64 RelWithDebInfo", "configurePreset": "gcc13-x64-rwdi" },
{ "name": "gcc13-x64-msr", "displayName": "gcc-13 x64 MinSizeRel", "configurePreset": "gcc13-x64-msr" },
{ "name": "clang15-x64-debug", "displayName": "clang-15 x64 Debug", "configurePreset": "clang15-x64-debug" },
{ "name": "clang15-x64-release", "displayName": "clang-15 x64 Release", "configurePreset": "clang15-x64-release" },
{ "name": "clang15-x64-rwdi", "displayName": "clang-15 x64 RelWithDebInfo", "configurePreset": "clang15-x64-rwdi" },
{ "name": "clang15-x64-msr", "displayName": "clang-15 x64 MinSizeRel", "configurePreset": "clang15-x64-msr" },
{ "name": "clang16-x64-debug", "displayName": "clang-16 x64 Debug", "configurePreset": "clang16-x64-debug" },
{ "name": "clang16-x64-release", "displayName": "clang-16 x64 Release", "configurePreset": "clang16-x64-release" },
{ "name": "clang16-x64-rwdi", "displayName": "clang-16 x64 RelWithDebInfo", "configurePreset": "clang16-x64-rwdi" },
{ "name": "clang16-x64-msr", "displayName": "clang-16 x64 MinSizeRel", "configurePreset": "clang16-x64-msr" },
{ "name": "clang17-x64-debug", "displayName": "clang-17 x64 Debug", "configurePreset": "clang17-x64-debug" },
{ "name": "clang17-x64-release", "displayName": "clang-17 x64 Release", "configurePreset": "clang17-x64-release" },
{ "name": "clang17-x64-rwdi", "displayName": "clang-17 x64 RelWithDebInfo", "configurePreset": "clang17-x64-rwdi" },
{ "name": "clang17-x64-msr", "displayName": "clang-17 x64 MinSizeRel", "configurePreset": "clang17-x64-msr" }
]
}