forked from InfiniTimeOrg/InfiniTime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakePresets.json
72 lines (72 loc) · 1.61 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 22,
"patch": 0
},
"configurePresets": [
{
"name": "base",
"description": "Default build using devcontainer tools",
"generator": "Ninja",
"hidden": true,
"cacheVariables": {
"ARM_NONE_EABI_TOOLCHAIN_PATH": {
"type": "PATH",
"value": "/opt/gcc-arm-none-eabi-10.3-2021.10"
},
"NRF5_SDK_PATH": {
"type": "PATH",
"value": "/opt/nRF5_SDK_15.3.0_59ac345"
},
"BUILD_DFU": {
"type": "BOOL",
"value": "ON"
},
"BUILD_RESOURCES": {
"type": "BOOL",
"value": "ON"
},
"TARGET_DEVICE": {
"type": "STRING",
"value": "PINETIME"
},
"ENABLE_CCACHE": {
"type": "BOOL",
"value": true
}
}
},
{
"name": "pinetime-debug",
"inherits": "base",
"displayName": "Pinetime Debug",
"description": "Debug build using Ninja",
"binaryDir": "build/debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "pinetime-release",
"inherits": "base",
"displayName": "Pinetime Release",
"description": "Release build using Ninja",
"binaryDir": "build/release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
}
],
"buildPresets": [
{
"name": "pinetime-release",
"configurePreset": "pinetime-release"
},
{
"name": "pinetime-debug",
"configurePreset": "pinetime-debug"
}
]
}