-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathCMakePresets.json
More file actions
171 lines (171 loc) · 4.3 KB
/
CMakePresets.json
File metadata and controls
171 lines (171 loc) · 4.3 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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
{
"version": 4,
"cmakeMinimumRequired": {
"major": 3,
"minor": 23,
"patch": 0
},
"configurePresets": [
{
"name": "linux_ninja",
"displayName": "Linux Ninja",
"generator": "Ninja Multi-Config",
"binaryDir": "${sourceDir}/_build_ninja"
},
{
"name": "macos_universal_xcode",
"displayName": "Xcode macOS Universal",
"generator": "Xcode",
"binaryDir": "${sourceDir}/_build_xcode",
"cacheVariables": {
"CMAKE_OSX_ARCHITECTURES": "arm64;x86_64"
}
},
{
"name": "windows_vs2022_v143",
"displayName": "Visual Studio 2022 v143",
"generator": "Visual Studio 17 2022",
"binaryDir": "${sourceDir}/_build_msvc",
"toolset": "v143"
},
{
"name": "windows_vs2026_v145",
"displayName": "Visual Studio 2026 v145",
"generator": "Visual Studio 18 2026",
"binaryDir": "${sourceDir}/_build_msvc",
"toolset": "v145"
},
{
"name": "windows_vs2022_clangcl",
"displayName": "Visual Studio 2022 ClangCL",
"generator": "Visual Studio 17 2022",
"binaryDir": "${sourceDir}/_build_clangcl"
},
{
"name": "dev-windows",
"inherits": ["windows_vs2022_v143"],
"displayName": "Dev (Debug / no Inno)",
"binaryDir": "${sourceDir}/_build_msvc",
"cacheVariables": {
"CMT_SDK_DIR": "${sourceDir}/sdk_2026",
"CMT_SDK_BUILD_CONFIG": "Debug",
"CMT_SDK_BUILD_TARGET": "mmdtool"
}
},
{
"name": "package-windows",
"inherits": ["windows_vs2022_v143"],
"displayName": "Release + Inno (override ISCC path or use CMakeUserPresets)",
"binaryDir": "${sourceDir}/_build_msvc",
"cacheVariables": {
"CMT_SDK_DIR": "${sourceDir}/sdk_2026",
"CMT_SDK_BUILD_CONFIG": "Release",
"CMT_SDK_BUILD_TARGET": "mmdtool",
"CMT_INNO_SETUP_ISCC": "C:/Program Files/Inno Setup 6/ISCC.exe",
"CMT_ISS_EXTRA_ARGS": ""
}
},
{
"name": "dev-linux",
"inherits": ["linux_ninja"],
"displayName": "Linux dev (Ninja Multi-Config)",
"binaryDir": "${sourceDir}/_build_ninja",
"cacheVariables": {
"CMT_SDK_DIR": "${sourceDir}/sdk_2026",
"CMT_SDK_GENERATOR": "Ninja Multi-Config",
"CMT_SDK_SKIP_VS_A_AND_T": "ON",
"CMT_SDK_BUILD_CONFIG": "Debug",
"CMT_SDK_BUILD_TARGET": "mmdtool"
}
},
{
"name": "dev-macos",
"inherits": ["macos_universal_xcode"],
"displayName": "macOS dev (Xcode Universal)",
"binaryDir": "${sourceDir}/_build_xcode",
"cacheVariables": {
"CMT_SDK_DIR": "${sourceDir}/sdk_2026",
"CMT_SDK_GENERATOR": "Xcode",
"CMT_SDK_SKIP_VS_A_AND_T": "ON",
"CMT_SDK_BUILD_CONFIG": "Debug",
"CMT_SDK_BUILD_TARGET": "mmdtool"
}
},
{
"name": "dev-windows-deps-test",
"inherits": ["dev-windows"],
"displayName": "dependency/ + libMMD CTest (CMT_DEPS_ENABLE_LIBMMD_TESTS)",
"cacheVariables": {
"CMT_DEPS_ENABLE_LIBMMD_TESTS": "ON"
}
}
],
"buildPresets": [
{
"name": "cmt-deps-build",
"configurePreset": "dev-windows",
"configuration": "Debug",
"targets": ["cmt-deps-build"]
},
{
"name": "cmt-deps-test",
"configurePreset": "dev-windows-deps-test",
"configuration": "Debug",
"targets": ["cmt-deps-test"]
},
{
"name": "workflow-dev",
"configurePreset": "dev-windows",
"configuration": "Debug",
"targets": ["cmt-workflow"]
},
{
"name": "workflow-configure-all-sdks",
"configurePreset": "dev-windows",
"configuration": "Debug",
"targets": ["cmt-sdk-configure-all"]
},
{
"name": "workflow-package",
"configurePreset": "package-windows",
"configuration": "Release",
"targets": ["cmt-workflow"]
},
{
"name": "inno-installer",
"configurePreset": "package-windows",
"configuration": "Release",
"targets": ["cmt-package"]
},
{
"name": "cmt-deps-build-linux",
"configurePreset": "dev-linux",
"configuration": "Debug",
"targets": ["cmt-deps-build"]
},
{
"name": "workflow-dev-linux",
"configurePreset": "dev-linux",
"configuration": "Debug",
"targets": ["cmt-workflow"]
},
{
"name": "workflow-dev-macos",
"configurePreset": "dev-macos",
"configuration": "Debug",
"targets": ["cmt-workflow"]
},
{
"name": "workflow-release",
"configurePreset": "dev-windows",
"configuration": "Release",
"targets": ["cmt-workflow"]
},
{
"name": "workflow-release-macos",
"configurePreset": "dev-macos",
"configuration": "Release",
"targets": ["cmt-workflow"]
}
]
}