-
Notifications
You must be signed in to change notification settings - Fork 503
/
CMakePresets.json
242 lines (242 loc) · 7.16 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
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 15,
"patch": 0
},
"configurePresets": [
{
"name": "base",
"description": "Base configuration inherited by all presets.",
"hidden": true,
"cacheVariables": {},
"cmakeExecutable": "${sourceDir}/tools/.packman/cmake/bin/cmake",
"binaryDir": "${sourceDir}/build/${presetName}"
},
{
"name": "ci",
"description": "Enable additional options used for continous integration.",
"hidden": true,
"cacheVariables": {
"FALCOR_ENABLE_NRC": "ON",
"FALCOR_VALIDATE_HEADERS": "ON",
"FALCOR_PRECOMPILED_HEADERS": "OFF"
}
},
{
"name": "windows-base",
"description": "Base Windows configuration for specifying Windows SDK.",
"hidden": true,
"inherits": "base",
"cacheVariables": {
"CMAKE_SYSTEM_VERSION": "10.0.19041.0"
}
},
{
"name": "windows-vs2022-base",
"description": "Base Visual Studio 2022 configuration.",
"hidden": true,
"inherits": "windows-base",
"generator": "Visual Studio 17 2022",
"architecture": {
"value": "x64",
"strategy": "set"
},
"toolset": {
"value": "host=x86",
"strategy": "set"
}
},
{
"name": "windows-vs2022",
"displayName": "Windows VS2022",
"inherits": [
"windows-vs2022-base"
]
},
{
"name": "windows-vs2022-ci",
"displayName": "Windows VS2022 (CI)",
"inherits": [
"windows-vs2022-base",
"ci"
]
},
{
"name": "windows-ninja-msvc-base",
"description": "Base Ninja configuration using MSVC.",
"hidden": true,
"inherits": "windows-base",
"generator": "Ninja Multi-Config",
"architecture": {
"value": "x64",
"strategy": "external"
},
"toolset": {
"value": "host=x86,v143",
"strategy": "external"
},
"cacheVariables": {
"CMAKE_MAKE_PROGRAM": "${sourceDir}/tools/.packman/ninja/ninja.exe",
"CMAKE_CXX_COMPILER": "cl"
},
"vendor": {
"microsoft.com/VisualStudioSettings/CMake/1.0": {
"hostOS": [
"Windows"
]
}
}
},
{
"name": "windows-ninja-msvc",
"displayName": "Windows Ninja/MSVC",
"inherits": [
"windows-ninja-msvc-base"
]
},
{
"name": "windows-ninja-msvc-ci",
"displayName": "Windows Ninja/MSVC (CI)",
"inherits": [
"windows-ninja-msvc-base",
"ci"
]
},
{
"name": "linux-base",
"description": "Base Linux configuration.",
"hidden": true,
"inherits": "base",
"generator": "Ninja Multi-Config",
"cacheVariables": {
"CMAKE_MAKE_PROGRAM": "${sourceDir}/tools/.packman/ninja/ninja"
}
},
{
"name": "linux-clang-base",
"description": "Base Linux/Clang configuration.",
"hidden": true,
"inherits": "linux-base",
"cacheVariables": {
"CMAKE_C_COMPILER": "clang",
"CMAKE_CXX_COMPILER": "clang++"
}
},
{
"name": "linux-clang",
"displayName": "Linux/Clang",
"inherits": [
"linux-clang-base"
]
},
{
"name": "linux-clang-ci",
"displayName": "Linux/Clang (CI)",
"inherits": [
"linux-clang-base",
"ci"
]
},
{
"name": "linux-gcc-base",
"description": "Base Linux/GCC configuration.",
"hidden": true,
"inherits": "linux-base",
"cacheVariables": {
"CMAKE_C_COMPILER": "gcc",
"CMAKE_CXX_COMPILER": "g++"
}
},
{
"name": "linux-gcc",
"displayName": "Linux/GCC",
"inherits": [
"linux-gcc-base"
]
},
{
"name": "linux-gcc-ci",
"displayName": "Linux/GCC (CI)",
"inherits": [
"linux-gcc-base",
"ci"
]
}
],
"buildPresets": [
{
"name": "windows-ninja-msvc-release",
"displayName": "Release",
"configurePreset": "windows-ninja-msvc",
"configuration": "Release"
},
{
"name": "windows-ninja-msvc-debug",
"displayName": "Debug",
"configurePreset": "windows-ninja-msvc",
"configuration": "Debug"
},
{
"name": "windows-ninja-msvc-ci-release",
"displayName": "Release",
"configurePreset": "windows-ninja-msvc-ci",
"configuration": "Release"
},
{
"name": "windows-ninja-msvc-ci-debug",
"displayName": "Debug",
"configurePreset": "windows-ninja-msvc-ci",
"configuration": "Debug"
},
{
"name": "linux-clang-release",
"displayName": "Release",
"configurePreset": "linux-clang",
"configuration": "Release"
},
{
"name": "linux-clang-debug",
"displayName": "Debug",
"configurePreset": "linux-clang",
"configuration": "Debug"
},
{
"name": "linux-clang-ci-release",
"displayName": "Release",
"configurePreset": "linux-clang-ci",
"configuration": "Release"
},
{
"name": "linux-clang-ci-debug",
"displayName": "Debug",
"configurePreset": "linux-clang-ci",
"configuration": "Debug"
},
{
"name": "linux-gcc-release",
"displayName": "Release",
"configurePreset": "linux-gcc",
"configuration": "Release"
},
{
"name": "linux-gcc-debug",
"displayName": "Debug",
"configurePreset": "linux-gcc",
"configuration": "Debug"
},
{
"name": "linux-gcc-ci-release",
"displayName": "Release",
"configurePreset": "linux-gcc-ci",
"configuration": "Release"
},
{
"name": "linux-gcc-ci-debug",
"displayName": "Debug",
"configurePreset": "linux-gcc-ci",
"configuration": "Debug"
}
]
}