This repository has been archived by the owner on Jul 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakePresets.json
108 lines (108 loc) · 3.1 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
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 21,
"patch": 0
},
"configurePresets": [
{
"name": "x64-windows-debug",
"displayName": "x64(vs2022)/debug",
"generator": "Visual Studio 17 2022",
"architecture": "x64",
"binaryDir": "${sourceDir}/build-x64-windows",
"installDir": "${sourceDir}/install/x64",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_SYSTEM_VERSION": "10.0.20348.0"
},
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
}
},
{
"name": "x64-windows-release",
"displayName": "x64(vs2022)/release",
"inherits": "x64-windows-debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "x64-osx-debug",
"displayName": "x64-osx/debug",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build-x64-osx",
"installDir": "${sourceDir}/install",
"cacheVariables": {
"CMAKE_OSX_ARCHITECTURES": "x86_64",
"CMAKE_BUILD_TYPE": "Debug"
},
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Darwin"
}
},
{
"name": "arm64-osx-debug",
"displayName": "arm64-osx/debug",
"inherits": "x64-osx-debug",
"cacheVariables": {
"CMAKE_OSX_ARCHITECTURES": "arm64",
"VCPKG_TARGET_TRIPLET": "arm64-osx"
}
}
],
"buildPresets": [
{
"name": "x64-windows-debug",
"configuration": "Debug",
"configurePreset": "x64-windows-debug"
},
{
"name": "x64-windows-release",
"configurePreset": "x64-windows-release",
"configuration": "Release"
},
{
"name": "x64-osx-debug",
"configurePreset": "x64-osx-debug",
"configuration": "Debug"
},
{
"name": "arm64-osx-debug",
"configurePreset": "arm64-osx-debug",
"configuration": "Debug"
}
],
"testPresets": [
{
"name": "x64-windows-debug",
"configurePreset": "x64-windows-debug",
"configuration": "Debug",
"output": {
"outputOnFailure": true
}
},
{
"name": "x64-osx-debug",
"configurePreset": "x64-osx-debug",
"configuration": "Debug",
"output": {
"outputOnFailure": true
}
},
{
"name": "arm64-osx-debug",
"configurePreset": "arm64-osx-debug",
"configuration": "Debug",
"output": {
"outputOnFailure": true
}
}
]
}