-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakePresets.json
More file actions
46 lines (46 loc) · 1.43 KB
/
CMakePresets.json
File metadata and controls
46 lines (46 loc) · 1.43 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
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 20,
"patch": 0
},
"configurePresets": [
{
"name": "pico",
"displayName": "Raspberry Pi Pico (RP2040)",
"description": "Build for Raspberry Pi Pico platform using RP2040 microcontroller",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"PLATFORM_TARGET": "pico",
"PICO_BOARD": "pico_w",
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "pico-debug",
"displayName": "Raspberry Pi Pico (RP2040) - Debug",
"description": "Build for Raspberry Pi Pico platform with debug symbols",
"binaryDir": "${sourceDir}/build-debug",
"cacheVariables": {
"PLATFORM_TARGET": "pico",
"PICO_BOARD": "pico_w",
"CMAKE_BUILD_TYPE": "Debug"
}
}
],
"buildPresets": [
{
"name": "pico",
"configurePreset": "pico",
"displayName": "Build Pico Release",
"description": "Build the project for Pico in Release mode"
},
{
"name": "pico-debug",
"configurePreset": "pico-debug",
"displayName": "Build Pico Debug",
"description": "Build the project for Pico in Debug mode"
}
]
}