forked from microsoft/DirectML
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakePresets.json
113 lines (112 loc) · 3.58 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
109
110
111
112
113
{
"version": 3,
"configurePresets": [
{
"name": "vs2022",
"hidden": true,
"generator": "Visual Studio 17 2022",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/build/${presetName}/install"
},
"vendor": { "microsoft.com/VisualStudioSettings/CMake/1.0": { "hostOS": [ "Windows" ] } }
},
{
"name": "win-x64",
"displayName": "Windows x64",
"inherits": "vs2022",
"architecture": { "value": "x64", "strategy": "set" }
},
{
"name": "win-x86",
"displayName": "Windows x86",
"inherits": "vs2022",
"architecture": { "value": "Win32", "strategy": "set" }
},
{
"name": "win-arm64",
"displayName": "Windows ARM64",
"inherits": "vs2022",
"architecture": { "value": "arm64", "strategy": "set" }
},
{
"name": "xbox-scarlett",
"displayName": "Xbox Scarlett",
"inherits": "vs2022",
"architecture": { "value": "Gaming.Xbox.Scarlett.x64", "strategy": "set" }
},
{
"name": "linux-x64",
"displayName": "Linux x64",
"generator": "Ninja Multi-Config",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/build/${presetName}/install"
},
"architecture": { "value": "x64", "strategy": "external" },
"vendor": { "microsoft.com/VisualStudioSettings/CMake/1.0": { "hostOS": [ "Linux" ] } }
}
],
"buildPresets": [
{
"name": "win-x64-debug",
"displayName": "Debug",
"configurePreset": "win-x64",
"configuration": "Debug"
},
{
"name": "win-x64-release",
"displayName": "Release",
"configurePreset": "win-x64",
"configuration": "RelWithDebInfo"
},
{
"name": "win-x86-debug",
"displayName": "Debug",
"configurePreset": "win-x86",
"configuration": "Debug"
},
{
"name": "win-x86-release",
"displayName": "Release",
"configurePreset": "win-x86",
"configuration": "RelWithDebInfo"
},
{
"name": "win-arm64-debug",
"displayName": "Debug",
"configurePreset": "win-arm64",
"configuration": "Debug"
},
{
"name": "win-arm64-release",
"displayName": "Release",
"configurePreset": "win-arm64",
"configuration": "RelWithDebInfo"
},
{
"name": "xbox-scarlett-debug",
"displayName": "Debug",
"configurePreset": "xbox-scarlett",
"configuration": "Debug"
},
{
"name": "xbox-scarlett-release",
"displayName": "Release",
"configurePreset": "xbox-scarlett",
"configuration": "RelWithDebInfo"
},
{
"name": "linux-x64-debug",
"displayName": "Debug",
"configurePreset": "linux-x64",
"configuration": "Debug"
},
{
"name": "linux-x64-release",
"displayName": "Release",
"configurePreset": "linux-x64",
"configuration": "RelWithDebInfo"
}
]
}