-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakePresets.json
61 lines (61 loc) · 1.39 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
{
"version": 7,
"cmakeMinimumRequired": {
"major": 3,
"minor": 27,
"patch": 0
},
"configurePresets": [
{
"name": "vs17",
"displayName": "Visual Studio 2022",
"description": "Visual Studio 2022 Generator.",
"generator": "Visual Studio 17 2022",
"binaryDir": "${sourceDir}/out/build/${presetName}",
"cacheVariables": {
"WEBGPU_BACKEND": "DAWN"
}
},
{
"name": "emscripten",
"displayName": "Emscripten",
"generator": "Ninja Multi-Config",
"binaryDir": "${sourceDir}/out/build/${presetName}",
"toolchainFile": "tools/emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake"
}
],
"buildPresets": [
{
"name": "Emscripten-Debug",
"configurePreset": "emscripten",
"configuration": "Debug",
"cacheVariables": {
"DEV_MODE": "ON"
}
},
{
"name": "Emscripten-Release",
"configurePreset": "emscripten",
"configuration": "Release",
"cacheVariables": {
"DEV_MODE": "OFF"
}
},
{
"name": "x64-Debug",
"configurePreset": "vs17",
"configuration": "Debug",
"cacheVariables": {
"DEV_MODE": "ON"
}
},
{
"name": "x64-Release",
"configurePreset": "vs17",
"configuration": "Release",
"cacheVariables": {
"DEV_MODE": "OFF"
}
}
]
}