-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakePresets.json
More file actions
102 lines (96 loc) · 3.11 KB
/
CMakePresets.json
File metadata and controls
102 lines (96 loc) · 3.11 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
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
{
"version": 3,
"configurePresets": [
{
"name": "base",
"hidden": true,
"description": "Base for all presets",
"binaryDir": "Build/${presetName}"
},
{
"name": "base-debug",
"hidden": true,
"description": "Base for all Debug presets",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "base-release",
"hidden": true,
"description": "Base for all Release presets",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "base-win",
"hidden": true,
"description": "Base for all Windows presets"
},
{
"name": "base-msvc",
"hidden": true,
"description": "Base for all MSVC presets",
"generator": "Visual Studio 17 2022",
"cacheVariables": {
"CMAKE_CXX_COMPILER": "cl",
"CMAKE_C_COMPILER": "cl",
"CMAKE_GENERATOR_TOOLSET": "v143,host=x64",
"CMAKE_GENERATOR_PLATFORM": "x64,version=10.0"
}
},
{
"name": "base-clang-cl",
"hidden": true,
"description": "Base for all Clang-cl presets",
"generator": "Visual Studio 17 2022",
"cacheVariables": {
"CMAKE_CXX_COMPILER": "clang-cl",
"CMAKE_C_COMPILER": "clang-cl",
"CMAKE_GENERATOR_TOOLSET": "ClangCL,host=x64",
"CMAKE_GENERATOR_PLATFORM": "x64,version=10.0"
}
},
{
"name": "win-msvc-debug",
"description": "Base preset for Debug build for Windows using MSVC. Inherit it to specify custom cache vars and env if needed.",
"inherits": [
"base",
"base-win",
"base-msvc",
"base-debug"
]
},
{
"name": "win-msvc-release",
"description": "Base preset for Release build for Windows using MSVC. Inherit it to specify custom cache vars and env if needed.",
"inherits": [
"base",
"base-win",
"base-msvc",
"base-release"
]
},
{
"name": "win-clang-cl-debug",
"description": "Base preset for Debug build for Windows using ClangCL. Inherit it to specify custom cache vars and env if needed.",
"inherits": [
"base",
"base-win",
"base-clang-cl",
"base-debug"
]
},
{
"name": "win-clang-cl-release",
"description": "Base preset for Release build for Windows using ClangCL. Inherit it to specify custom cache vars and env if needed.",
"inherits": [
"base",
"base-win",
"base-clang-cl",
"base-release"
]
}
]
}