forked from Stephane-D/SGDK
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakePresets.json
More file actions
107 lines (107 loc) · 3.16 KB
/
CMakePresets.json
File metadata and controls
107 lines (107 loc) · 3.16 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
{
"version": 9,
"configurePresets": [
{
"name": "sgdk_multiconfig",
"description": "Configure SGDK",
"generator": "Ninja Multi-Config",
"binaryDir": "${sourceDir}/build",
"toolchainFile": "${sourceDir}/cmake/Toolchain/SGDKToolchain.cmake",
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
},
"vendor":{
"microsoft.com/VisualStudioSettings/CMake/1.0": {
"intelliSenseMode": "linux-gcc-x64"
}
}
},
{
"name": "sgdk_multiconfig_compat",
"description": "Configure SGDK with upstream/deprecated compatibility",
"generator": "Ninja Multi-Config",
"binaryDir": "${sourceDir}/build",
"toolchainFile": "${sourceDir}/cmake/Toolchain/SGDKToolchain.cmake",
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"SGDK_UPSTREAM_COMPATIBILITY": "ON",
"SGDK_DEPRECATED_F16_COMPATIBILITY": "ON"
},
"vendor":{
"microsoft.com/VisualStudioSettings/CMake/1.0": {
"intelliSenseMode": "linux-gcc-x64"
}
}
}
],
"buildPresets": [
{
"name": "install_sgdk_base",
"hidden": true,
"configurePreset": "sgdk_multiconfig",
"jobs": 4,
"targets": ["install"]
},
{
"name": "install_debug_sgdk",
"inherits": ["install_sgdk_base"],
"configuration": "Debug"
},
{
"name": "install_relwithdebinfo_sgdk",
"inherits": ["install_sgdk_base"],
"configuration": "RelWithDebInfo"
},
{
"name": "install_release_sgdk",
"inherits": ["install_sgdk_base"],
"configuration": "Release"
},
{
"name": "install_sgdk_compat_base",
"hidden": true,
"configurePreset": "sgdk_multiconfig_compat",
"jobs": 4,
"targets": ["install"]
},
{
"name": "install_debug_sgdk_compat",
"inherits": ["install_sgdk_compat_base"],
"configuration": "Debug"
},
{
"name": "install_relwithdebinfo_sgdk_compat",
"inherits": ["install_sgdk_compat_base"],
"configuration": "RelWithDebInfo"
},
{
"name": "install_release_sgdk_compat",
"inherits": ["install_sgdk_compat_base"],
"configuration": "Release"
}
],
"workflowPresets": [
{
"name": "install_sgdk",
"description": "Configure and build SGDK",
"steps": [
{ "type": "configure", "name": "sgdk_multiconfig" },
{ "type": "build", "name": "install_debug_sgdk" },
{ "type": "build", "name": "install_relwithdebinfo_sgdk" },
{ "type": "build", "name": "install_release_sgdk" }
]
},
{
"name": "install_sgdk_compat",
"description": "Configure and build SGDK with upstream/deprecation compatibility",
"steps": [
{ "type": "configure", "name": "sgdk_multiconfig_compat" },
{ "type": "build", "name": "install_debug_sgdk_compat" },
{ "type": "build", "name": "install_relwithdebinfo_sgdk_compat" },
{ "type": "build", "name": "install_release_sgdk_compat" }
]
}
]
}