-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCMakePresets.json
49 lines (49 loc) · 1.18 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
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 21,
"patch": 0
},
"configurePresets": [
{
"name": "agb-base",
"hidden": true,
"generator": "Unix Makefiles",
"toolchainFile": "gba-toolchain/cmake/gba.toolchain.cmake",
"binaryDir": "cmake-build/${presetName}",
"installDir": "bin/${presetName}"
},
{
"name": "verbose-base",
"hidden": true,
"cacheVariables": {
"MGBA_LOGS": "true"
}
},
{
"name": "agb-debug",
"displayName": "AGB Debug",
"description": "Build for GBA with no optimizations",
"inherits": ["agb-base", "verbose-base"],
"cacheVariables": {
"CMAKE_BUILD_TYPE": "debug"
}
},
{
"name": "agb-release",
"displayName": "AGB Release",
"description": "Build for GBA with -O3 optimizations",
"inherits": "agb-base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "release"
}
},
{
"name": "agb-release-verbose",
"displayName": "AGB Release (Verbose)",
"description": "Optimized build with mGBA logging enabled",
"inherits": ["agb-release", "verbose-base"]
}
]
}