-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCMakePresets.json
More file actions
116 lines (116 loc) · 2.66 KB
/
Copy pathCMakePresets.json
File metadata and controls
116 lines (116 loc) · 2.66 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
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
105
106
107
108
109
110
111
112
113
114
115
116
{
"version": 6,
"cmakeMinimumRequired": {
"major": 3,
"minor": 20,
"patch": 0
},
"configurePresets": [
{
"name": "host-debug",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/host-debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"LS_BUILD_TESTS": "ON",
"LS_FREESTANDING_CHECK": "ON",
"LS_BUILD_TOOLS": "ON",
"LS_BUILD_BENCHMARKS": "ON",
"LS_BUILD_EXAMPLES": "ON"
}
},
{
"name": "host-release",
"inherits": "host-debug",
"binaryDir": "${sourceDir}/build/host-release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "host-msvc",
"generator": "Visual Studio 17 2022",
"architecture": "x64",
"binaryDir": "${sourceDir}/build/host-msvc",
"cacheVariables": {
"LS_BUILD_TESTS": "ON",
"LS_FREESTANDING_CHECK": "ON",
"LS_BUILD_TOOLS": "ON",
"LS_BUILD_BENCHMARKS": "ON",
"LS_BUILD_EXAMPLES": "ON"
}
},
{
"name": "arm-cortex-m4",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/arm-cortex-m4",
"toolchainFile": "${sourceDir}/cmake/toolchains/arm-none-eabi.cmake",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "MinSizeRel"
}
},
{
"name": "riscv32",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/riscv32",
"toolchainFile": "${sourceDir}/cmake/toolchains/riscv32-none-elf.cmake"
},
{
"name": "riscv64",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/riscv64",
"toolchainFile": "${sourceDir}/cmake/toolchains/riscv64-none-elf.cmake"
}
],
"buildPresets": [
{
"name": "host-debug",
"configurePreset": "host-debug"
},
{
"name": "host-release",
"configurePreset": "host-release"
},
{
"name": "host-msvc",
"configurePreset": "host-msvc",
"configuration": "Debug"
},
{
"name": "arm-cortex-m4",
"configurePreset": "arm-cortex-m4"
},
{
"name": "riscv32",
"configurePreset": "riscv32"
},
{
"name": "riscv64",
"configurePreset": "riscv64"
}
],
"testPresets": [
{
"name": "host-debug",
"configurePreset": "host-debug",
"output": {
"outputOnFailure": true
}
},
{
"name": "host-release",
"configurePreset": "host-release",
"output": {
"outputOnFailure": true
}
},
{
"name": "host-msvc",
"configurePreset": "host-msvc",
"configuration": "Debug",
"output": {
"outputOnFailure": true
}
}
]
}