Repository navigation
Expand file tree
/
Copy pathCMakeUserPresets.json.example
More file actions
67 lines (67 loc) · 2.32 KB
/
Copy pathCMakeUserPresets.json.example
File metadata and controls
67 lines (67 loc) · 2.32 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"version": 7,
"cmakeMinimumRequired": {
"major": 3,
"minor": 27,
"patch": 0
},
"configurePresets": [
{
"name": "host-mac-homebrew",
"inherits": "host",
"displayName": "Host (macOS with Homebrew LLVM)",
"description": "Homebrew LLVM on Apple silicon. Intel Macs use /usr/local/opt/llvm instead of /opt/homebrew/opt/llvm.",
"cacheVariables": {
"CMAKE_C_COMPILER": "/opt/homebrew/opt/llvm/bin/clang",
"CMAKE_CXX_COMPILER": "/opt/homebrew/opt/llvm/bin/clang++"
}
},
{
"name": "host-mac-system",
"inherits": "host",
"displayName": "Host (macOS with system clang)",
"description": "Apple clang. Note that it lags upstream LLVM and may not support every C++23 feature this project uses.",
"cacheVariables": {
"CMAKE_C_COMPILER": "/usr/bin/clang",
"CMAKE_CXX_COMPILER": "/usr/bin/clang++"
}
},
{
"name": "host-linux",
"inherits": "host",
"displayName": "Host (Linux)",
"description": "System clang on Linux. Only needed for native builds; the dev container already resolves clang from PATH.",
"cacheVariables": {
"CMAKE_C_COMPILER": "/usr/bin/clang",
"CMAKE_CXX_COMPILER": "/usr/bin/clang++"
}
},
{
"name": "arm-mac-homebrew",
"inherits": "stm32f3_discovery",
"displayName": "ARM (macOS with Homebrew ARM toolchain)",
"description": "arm-none-eabi-gcc via Homebrew. Confirm the path with: brew --prefix arm-none-eabi-gcc",
"cacheVariables": {
"ARM_TOOLCHAIN_PATH": "/opt/homebrew/opt/arm-none-eabi-gcc/bin"
}
},
{
"name": "arm-mac-application",
"inherits": "stm32f3_discovery",
"displayName": "ARM (macOS with ARM GNU Toolchain)",
"description": "ARM GNU Toolchain installed under /Applications. EDIT THE VERSION to match your install; the value below is only an example.",
"cacheVariables": {
"ARM_TOOLCHAIN_PATH": "/Applications/ArmGNUToolchain/14.2.rel1/arm-none-eabi/bin"
}
},
{
"name": "arm-linux",
"inherits": "stm32f3_discovery",
"displayName": "ARM (Linux)",
"description": "System arm-none-eabi-gcc on Linux, as installed by the gcc-arm-none-eabi package.",
"cacheVariables": {
"ARM_TOOLCHAIN_PATH": "/usr/bin"
}
}
]
}