-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathCMakePresets.json
More file actions
76 lines (76 loc) · 2.1 KB
/
CMakePresets.json
File metadata and controls
76 lines (76 loc) · 2.1 KB
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
{
"version": 2,
"cmakeMinimumRequired": {
"major": 3,
"minor": 24,
"patch": 0
},
"configurePresets": [
{
"name": "common",
"hidden": true,
"cacheVariables": {
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
}
},
{
"name": "gen-ninja",
"hidden": true,
"generator": "Ninja"
},
{
"name": "debug",
"hidden": true,
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "release",
"hidden": true,
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "toolchain-clang",
"hidden": true,
"cacheVariables": {
"EM_TOOLCHAIN": "Clang",
"CMAKE_C_COMPILER": "clang",
"CMAKE_CXX_COMPILER": "clang++"
},
"inherits": ["gen-ninja"]
},
{
"name": "toolchain-gcc",
"hidden": true,
"cacheVariables": {
"EM_TOOLCHAIN": "GCC",
"CMAKE_C_COMPILER": "gcc",
"CMAKE_CXX_COMPILER": "g++"
},
"inherits": ["gen-ninja"]
},
{
"name": "debug-linux-clang",
"binaryDir": "${sourceDir}/build/debug-linux-clang",
"inherits": ["common", "toolchain-clang", "debug"]
},
{
"name": "release-linux-clang",
"binaryDir": "${sourceDir}/build/release-linux-clang",
"inherits": ["common", "toolchain-clang", "release"]
},
{
"name": "debug-linux-gcc",
"binaryDir": "${sourceDir}/build/debug-linux-gcc",
"inherits": ["common", "toolchain-gcc", "debug"]
},
{
"name": "release-linux-gcc",
"binaryDir": "${sourceDir}/build/release-linux-gcc",
"inherits": ["common", "toolchain-gcc", "release"]
}
]
}