-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakePresets.json
104 lines (104 loc) · 2.67 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
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
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 18,
"patch": 0
},
"configurePresets": [
{
"name": "stm32f4x1",
"hidden": true,
"description": "Target library and projects for STM32F4x1 MCU.",
"generator": "Ninja Multi-Config",
"binaryDir": "${sourceDir}/build/${presetName}",
"architecture": {
"value": "arm64",
"strategy": "external"
},
"toolset": {
"value": "host=x64",
"strategy": "external"
},
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": {
"value": "${sourceDir}/cmake/stm32_gcc.cmake",
"type": "FILEPATH"
},
"STM32F4X1_GENERATE_FLASH_TARGETS": "ON"
}
},
{
"name": "stm32f401",
"description": "Target library and projects for STM32F401CC MCU.",
"inherits": "stm32f4x1",
"cacheVariables": {
"DEVICE": "STM32F401CC"
}
},
{
"name": "stm32f411",
"description": "Target library and projects for STM32F411CE MCU.",
"inherits": "stm32f4x1",
"cacheVariables": {
"DEVICE": "STM32F411CE"
}
}
],
"buildPresets": [
{
"name": "debug-stm32f401",
"displayName": "Debug",
"configurePreset": "stm32f401",
"inheritConfigureEnvironment": true,
"configuration": "Debug"
},
{
"name": "release-stm32f401",
"displayName": "Release",
"configurePreset": "stm32f401",
"inheritConfigureEnvironment": true,
"configuration": "Release"
},
{
"name": "clean-release-stm32f401",
"displayName": "Clean Release",
"inherits": "release-stm32f401",
"cleanFirst": true
},
{
"name": "release-with-debug-info-stm32f401",
"displayName": "Release with Debug info",
"configurePreset": "stm32f401",
"inheritConfigureEnvironment": true,
"configuration": "RelWithDebInfo"
},
{
"name": "debug-stm32f411",
"displayName": "Debug",
"configurePreset": "stm32f411",
"inheritConfigureEnvironment": true,
"configuration": "Debug"
},
{
"name": "release-stm32f411",
"displayName": "Release",
"configurePreset": "stm32f411",
"inheritConfigureEnvironment": true,
"configuration": "Release"
},
{
"name": "clean-release-stm32f411",
"displayName": "Clean Release",
"inherits": "release-stm32f411",
"cleanFirst": true
},
{
"name": "release-with-debug-info-stm32f411",
"displayName": "Release with Debug info",
"configurePreset": "stm32f411",
"inheritConfigureEnvironment": true,
"configuration": "RelWithDebInfo"
}
]
}