-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakePresets.json
78 lines (78 loc) · 2.44 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
{
"version": 6,
"cmakeMinimumRequired": {
"major": 3,
"minor": 26,
"patch": 0
},
"configurePresets": [
{
"name": "default",
"cacheVariables": {
"__CMAKE_VERBOSE_MAKEFILE": "ON",
"CMAKE_INTERPROCEDURAL_OPTIMIZATION": "ON"
},
"hidden": true
},
{
"inherits": "default",
"name": "teensy41",
"description": "Build for Teensy 4.1",
"binaryDir": "${sourceDir}/build/teensy41",
"installDir": "${sourceDir}/distrib/teensy41",
"cacheVariables": {
"BOARD_NAME": "Teensy4",
"BOARD_VERSION": "4.1",
"CMAKE_SYSTEM_NAME": "Generic",
"CMAKE_SYSTEM_PROCESSOR": "ARMv7E-M",
"CMAKE_CROSSCOMPILING": "ON",
"CMAKE_C_COMPILER_TARGET": "thumbv7em-none-unknown-eabihf",
"CMAKE_CXX_COMPILER_TARGET": "thumbv7em-none-unknown-eabihf"
},
"hidden": true
},
{
"inherits": "teensy41",
"name": "teensy41-llvmarm",
"toolchainFile": "${sourceDir}/cmake/toolchains/llvm-arm.cmake",
"hidden": true,
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/cmake/toolchains/llvm-arm.cmake"
}
},
{
"inherits": "teensy41-llvmarm",
"name": "teensy41-llvmarm-ninja",
"displayName": "Teensy 4.1 (LLVM/Clang for ARM, Ninja Multi-Config)",
"generator": "Ninja Multi-Config"
},
{
"inherits": "teensy41",
"name": "teensy41-llvm",
"toolchainFile": "${sourceDir}/cmake/toolchains/llvm.cmake",
"hidden": true
},
{
"inherits": "teensy41-llvm",
"name": "teensy41-llvm-ninja",
"displayName": "Teensy 4.1 (LLVM/Clang, Ninja Multi-Config)",
"generator": "Ninja Multi-Config"
}
],
"buildPresets": [
{
"configurePreset": "teensy41-llvmarm-ninja",
"name": "teensy41-llvmarm-ninja-debug",
"description": "",
"displayName": "Debug",
"configuration": "Debug"
},
{
"configurePreset": "teensy41-llvmarm-ninja",
"name": "teensy41-llvmarm-ninja-release",
"description": "",
"displayName": "Release",
"configuration": "Release"
}
]
}