-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCMakePresets.json
More file actions
133 lines (133 loc) · 4.07 KB
/
Copy pathCMakePresets.json
File metadata and controls
133 lines (133 loc) · 4.07 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
{
"version": 6,
"cmakeMinimumRequired": {
"major": 3,
"minor": 28,
"patch": 0
},
"vendor": {
"org.eclipse.threadx": {
"copyright": "Copyright (c) 2026 Eclipse ThreadX contributors",
"license": "This program and the accompanying materials are made available under the terms of the MIT License which is available at https://opensource.org/licenses/MIT.",
"aiDisclosure": "This file was largely AI-generated by Claude Code (Opus 5). The AI-generated portions may be considered public domain (CC0-1.0) and not subject to the project's licence. The human contributor has reviewed and verified that the code is correct.",
"spdxLicenseIdentifier": "MIT and CC0-1.0",
"note": "JSON permits no comments, so this vendor block carries the header every other file in the repository has in its own comment syntax. CMake ignores the contents of vendor objects."
}
},
"configurePresets": [
{
"name": "default",
"displayName": "Host build",
"description": "The architecture-independent half of ZoneX plus the host unit tests. Warning-tolerant, so a half-finished change can still be compiled and looked at.",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/host",
"toolchainFile": "${sourceDir}/cmake/host.cmake",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"ZX_BUILD_HOST_TESTS": "ON"
}
},
{
"name": "ci-strict",
"inherits": "default",
"displayName": "Host build, warnings are errors",
"description": "What CI runs. CMAKE_COMPILE_WARNING_AS_ERROR is set here rather than in the default preset deliberately: developer builds stay warning-tolerant and CI enforces strictness.",
"binaryDir": "${sourceDir}/build/ci-strict",
"cacheVariables": {
"CMAKE_COMPILE_WARNING_AS_ERROR": "ON"
}
},
{
"name": "coverage",
"inherits": "default",
"displayName": "Host build, instrumented",
"description": "Adds --coverage to zonex_core and the test binaries. Report with scripts/test_host.sh coverage.",
"binaryDir": "${sourceDir}/build/coverage",
"cacheVariables": {
"ZX_COVERAGE": "ON"
}
},
{
"name": "fvp",
"displayName": "Cortex-R52 cross build, Armv8-R AEM FVP",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/fvp",
"toolchainFile": "${sourceDir}/cmake/cortex_r52.cmake",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"ZX_BUILD_FVP_EXAMPLE": "ON",
"ZX_BUILD_S32Z280_EXAMPLE": "OFF"
}
},
{
"name": "fvp-strict",
"inherits": "fvp",
"displayName": "Cortex-R52 cross build, warnings are errors",
"binaryDir": "${sourceDir}/build/fvp-strict",
"cacheVariables": {
"CMAKE_COMPILE_WARNING_AS_ERROR": "ON"
}
},
{
"name": "s32z280",
"displayName": "Cortex-R52 cross build, NXP S32Z280-594EVB",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/s32z280",
"toolchainFile": "${sourceDir}/cmake/cortex_r52.cmake",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"ZX_BUILD_FVP_EXAMPLE": "OFF",
"ZX_BUILD_S32Z280_EXAMPLE": "ON"
}
}
],
"buildPresets": [
{
"name": "default",
"configurePreset": "default"
},
{
"name": "ci-strict",
"configurePreset": "ci-strict"
},
{
"name": "coverage",
"configurePreset": "coverage"
},
{
"name": "fvp",
"configurePreset": "fvp"
},
{
"name": "fvp-strict",
"configurePreset": "fvp-strict"
},
{
"name": "s32z280",
"configurePreset": "s32z280"
}
],
"testPresets": [
{
"name": "default",
"configurePreset": "default",
"output": {
"outputOnFailure": true
}
},
{
"name": "ci-strict",
"configurePreset": "ci-strict",
"output": {
"outputOnFailure": true
}
},
{
"name": "coverage",
"configurePreset": "coverage",
"output": {
"outputOnFailure": true
}
}
]
}