-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakePresets.json
53 lines (53 loc) · 1.34 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
{
"version": 2,
"configurePresets": [
{
"name": "arm-gcc-cortex-m4",
"hidden": true,
"generator": "Ninja",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install",
"CMAKE_TOOLCHAIN_FILE": {
"type": "FILEPATH",
"value": "${sourceDir}/cmake/arm-gcc-m4-toolchain.cmake"
}
},
"architecture": {
"value": "unspecified",
"strategy": "external"
},
"vendor": {
"microsoft.com/VisualStudioSettings/CMake/1.0": {
"intelliSenseMode": "linux-gcc-arm"
}
}
},
{
"name": "debug",
"inherits": "arm-gcc-cortex-m4",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"PRESET_NAME": "debug"
}
},
{
"name": "release",
"inherits": "arm-gcc-cortex-m4",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"PRESET_NAME": "release"
}
}
],
"buildPresets": [
{
"name": "debug",
"configurePreset": "debug"
},
{
"name": "release",
"configurePreset": "release"
}
]
}