Repository navigation
Expand file tree
/
Copy pathCMakePresets.json
More file actions
131 lines (131 loc) · 3.96 KB
/
Copy pathCMakePresets.json
File metadata and controls
131 lines (131 loc) · 3.96 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"version": 7,
"cmakeMinimumRequired": {
"major": 3,
"minor": 18,
"patch": 0
},
"configurePresets": [
{
"name": "client",
"displayName": "SDL client",
"generator": "Unix Makefiles",
"binaryDir": "${sourceDir}/cmake-build-client",
"cacheVariables": {
"BUILD_NATIVE_CLIENT": "ON",
"BUILD_XBOX": "OFF",
"BUILD_DOCS": "OFF",
"BUILD_TESTS": "OFF",
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "client-ucrt64",
"displayName": "SDL client (UCRT64)",
"inherits": "client",
"generator": "Ninja",
"toolchainFile": "${sourceDir}/cmake/host-ucrt64-clang.cmake",
"binaryDir": "${sourceDir}/cmake-build-client-ucrt64",
"environment": {
"MSYSTEM": "UCRT64"
},
"cacheVariables": {
"CMAKE_DISABLE_PRECOMPILE_HEADERS": "ON",
"SUNSHINE_USE_PREBUILT_FFMPEG": "ON"
}
},
{
"name": "nxdk-release (ucrt64)",
"displayName": "Xbox and Host Tests Release (UCRT64)",
"description": "Build host tests natively with MinGW Makefiles and drive the Xbox target through an internal nxdk child configure",
"generator": "MinGW Makefiles",
"toolchainFile": "${sourceDir}/cmake/host-ucrt64-clang.cmake",
"binaryDir": "${sourceDir}/cmake-build-release-ucrt64",
"environment": {
"CHERE_INVOKING": "1",
"MSYSTEM": "UCRT64"
},
"cacheVariables": {
"BUILD_DOCS": "ON",
"BUILD_NATIVE_CLIENT": "OFF",
"BUILD_TESTS": "ON",
"BUILD_XBOX": "ON",
"CMAKE_DEPENDS_USE_COMPILER": "FALSE",
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "nxdk-debug (ucrt64)",
"displayName": "Xbox and Host Tests Debug (UCRT64)",
"description": "Debug host build with the internal nxdk Xbox child configure enabled",
"inherits": "nxdk-release (ucrt64)",
"binaryDir": "${sourceDir}/cmake-build-nxdk-debug-ucrt64",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "xbox-release (ucrt64)",
"displayName": "Xbox Release (UCRT64)",
"description": "Build the Original Xbox ISO directly with nxdk",
"generator": "Unix Makefiles",
"toolchainFile": "${sourceDir}/cmake/nxdk-toolchain.cmake",
"binaryDir": "${sourceDir}/cmake-build-xbox-release-ucrt64",
"environment": {
"CHERE_INVOKING": "1",
"MSYSTEM": "UCRT64"
},
"cacheVariables": {
"BUILD_DOCS": "OFF",
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_DEPENDS_USE_COMPILER": "FALSE",
"CMAKE_DISABLE_PRECOMPILE_HEADERS": "ON",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"CMAKE_TRY_COMPILE_TARGET_TYPE": "STATIC_LIBRARY",
"SUNSHINE_BUILD_KIND": "XBOX",
"SUNSHINE_NXDK_NATIVE_COMPILER": "ON",
"SUNSHINE_NXDK_DIR": "${sourceDir}/third-party/nxdk"
}
},
{
"name": "xbox-debug (ucrt64)",
"displayName": "Xbox Debug (UCRT64)",
"description": "Build the Original Xbox ISO directly with nxdk and debug symbols",
"inherits": "xbox-release (ucrt64)",
"binaryDir": "${sourceDir}/cmake-build-xbox-debug-ucrt64",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
}
],
"buildPresets": [
{
"name": "client",
"configurePreset": "client",
"targets": ["sunshine_client"]
},
{
"name": "client-ucrt64",
"configurePreset": "client-ucrt64",
"targets": ["sunshine_client"]
},
{
"name": "nxdk-release (ucrt64)",
"configurePreset": "nxdk-release (ucrt64)"
},
{
"name": "nxdk-debug (ucrt64)",
"configurePreset": "nxdk-debug (ucrt64)"
},
{
"name": "xbox-release (ucrt64)",
"configurePreset": "xbox-release (ucrt64)",
"targets": ["sunshine_xbox"]
},
{
"name": "xbox-debug (ucrt64)",
"configurePreset": "xbox-debug (ucrt64)",
"targets": ["sunshine_xbox"]
}
]
}