-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakePresets.json
More file actions
91 lines (91 loc) · 2.88 KB
/
CMakePresets.json
File metadata and controls
91 lines (91 loc) · 2.88 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
{
"version": 7,
"cmakeMinimumRequired": {
"major": 3,
"minor": 18,
"patch": 0
},
"configurePresets": [
{
"name": "nxdk-release (mingw64)",
"displayName": "Release (mingw64)",
"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-mingw64-clang.cmake",
"binaryDir": "${sourceDir}/cmake-build-release",
"environment": {
"CHERE_INVOKING": "1",
"MSYSTEM": "MINGW64"
},
"cacheVariables": {
"BUILD_DOCS": "ON",
"BUILD_TESTS": "ON",
"BUILD_XBOX": "ON",
"CMAKE_DEPENDS_USE_COMPILER": "FALSE",
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "nxdk-debug (mingw64)",
"displayName": "Debug (mingw64)",
"description": "Debug host build with the internal nxdk Xbox child configure enabled",
"inherits": "nxdk-release (mingw64)",
"binaryDir": "${sourceDir}/cmake-build-nxdk-debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "xbox-release (mingw64)",
"displayName": "Xbox Release (mingw64)",
"description": "Direct nxdk Xbox configure for IDE/code-model support on Xbox-only sources",
"generator": "Unix Makefiles",
"toolchainFile": "${sourceDir}/third-party/nxdk/share/toolchain-nxdk.cmake",
"binaryDir": "${sourceDir}/cmake-build-xbox-release",
"environment": {
"CHERE_INVOKING": "1",
"MSYSTEM": "MINGW64",
"NXDK_DIR": "${sourceDir}/third-party/nxdk"
},
"cacheVariables": {
"BUILD_DOCS": "OFF",
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_DEPENDS_USE_COMPILER": "FALSE",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"CMAKE_MAKE_PROGRAM": "C:/msys64/usr/bin/make.exe",
"CMAKE_TRY_COMPILE_TARGET_TYPE": "STATIC_LIBRARY",
"MOONLIGHT_BUILD_KIND": "XBOX",
"MOONLIGHT_SKIP_NXDK_PREP": "ON",
"NXDK_DIR": "${sourceDir}/third-party/nxdk"
}
},
{
"name": "xbox-debug (mingw64)",
"displayName": "Xbox Debug (mingw64)",
"description": "Direct nxdk Xbox configure for IDE/code-model support on Xbox-only sources",
"inherits": "xbox-release (mingw64)",
"binaryDir": "${sourceDir}/cmake-build-xbox-debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
}
],
"buildPresets": [
{
"name": "nxdk-release (mingw64)",
"configurePreset": "nxdk-release (mingw64)"
},
{
"name": "nxdk-debug (mingw64)",
"configurePreset": "nxdk-debug (mingw64)"
},
{
"name": "xbox-release (mingw64)",
"configurePreset": "xbox-release (mingw64)"
},
{
"name": "xbox-debug (mingw64)",
"configurePreset": "xbox-debug (mingw64)"
}
]
}