-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakePresets.json
More file actions
59 lines (59 loc) · 1.66 KB
/
Copy pathCMakePresets.json
File metadata and controls
59 lines (59 loc) · 1.66 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
{
"version": 10,
"cmakeMinimumRequired": {
"major": 3,
"minor": 31,
"patch": 0
},
"configurePresets": [
{
"name": "common-ninja",
"hidden": true,
"displayName": "Common-Ninja",
"generator": "Ninja Multi-Config",
"binaryDir": "${sourceDir}/build/ninja",
"cacheVariables": {
"CMAKE_POLICY_VERSION_MINIMUM": "3.5"
}
},
{
"name": "llvm-ninja",
"displayName": "LLVM - Ninja",
"description": "Build for LLVM",
"inherits": "common-ninja",
"toolchainFile": "${sourceDir}/cmake/llvm-toolchain.cmake"
},
{
"name": "windows",
"displayName": "Windows",
"description": "Build for Windows",
"generator": "Visual Studio 18 2026",
"binaryDir": "${sourceDir}/build/windows",
"toolchainFile": "${sourceDir}/cmake/msvc-toolchain.cmake",
"cacheVariables": {
"CMAKE_POLICY_VERSION_MINIMUM": "3.5"
}
}
],
"buildPresets": [
{
"name": "llvm-debug",
"configurePreset": "llvm-ninja",
"configuration": "Debug"
},
{
"name": "llvm-release",
"configurePreset": "llvm-ninja",
"configuration": "Release"
},
{
"name": "llvm-relwithdebinfo",
"configurePreset": "llvm-ninja",
"configuration": "RelWithDebInfo"
},
{
"name": "windows",
"configurePreset": "windows"
}
]
}