This repository was archived by the owner on Dec 25, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakePresets.json
More file actions
196 lines (196 loc) · 5.74 KB
/
Copy pathCMakePresets.json
File metadata and controls
196 lines (196 loc) · 5.74 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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
{
"version": 10,
"$schema": "https://cmake.org/cmake/help/latest/_downloads/3e2d73bff478d88a7de0de736ba5e361/schema.json",
"cmakeMinimumRequired": {
"major": 3,
"minor": 21,
"patch": 0
},
"configurePresets": [
{
"name": "Base",
"hidden": true,
"description": "Base build",
"binaryDir": "${sourceDir}/build/${presetName}",
"installDir": "${sourceDir}/build/install/${presetName}",
"cacheVariables": {
"PARAM_PROJECT_NAME": "noise",
"PARAM_PROJECT_SUMMARY": "Microkernel",
"PARAM_PROJECT_VERSION_MAJOR": "0",
"PARAM_PROJECT_VERSION_MINOR": "0",
"PARAM_PROJECT_VERSION_PATCH": "1",
"PARAM_PROJECT_C_STANDARD_VERSION": "23",
"PARAM_PROJECT_CXX_STANDARD_VERSION": "26",
"PARAM_PROJECT_LIMINE_API_REV": "4",
"PARAM_PROJECT_ISO_DIR": "${sourceDir}/build/${presetName}/iso",
"PARAM_PROJECT_USE_LLVM_LIBC": true
}
},
{
"name": "x64",
"hidden": true,
"description": "x86_64 Build config",
"cacheVariables": {
"PARAM_PROJECT_ARCHITECTURE": "x86_64"
}
},
{
"name": "Debug",
"hidden": true,
"description": "Enable Debug build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "Release",
"hidden": true,
"description": "Enable Release build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "MinSizeRelease",
"hidden": true,
"description": "Enable MinSIzeRel build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "MinSizeRel"
}
},
{
"name": "ReleaseWithDebug",
"hidden": true,
"description": "Enable RelWithDebInfo build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
}
},
{
"name": "Clang",
"hidden": true,
"generator": "Unix Makefiles",
"toolchainFile": "${sourceDir}/cmake/toolchains/x86_64-clang.cmake"
},
{
"name": "GCC",
"hidden": true,
"generator": "Unix Makefiles",
"toolchainFile": "${sourceDir}/cmake/toolchains/x86_64-gcc.cmake"
},
{
"name": "x86_64-clang",
"description": "Build x86_64 kernel using Clang with RelWithDebInfo",
"inherits": [
"Base",
"x64",
"Clang",
"ReleaseWithDebug"
]
},
{
"name": "x86_64-clang-debug",
"description": "Build x86_64 kernel using Clang with Debug",
"inherits": [
"Base",
"x64",
"Clang",
"Debug"
]
},
{
"name": "x86_64-clang-release",
"description": "Build x86_64 kernel using Clang with Release",
"inherits": [
"Base",
"x64",
"Clang",
"Release"
]
},
{
"name": "x86_64-clang-minsize",
"description": "Build x86_64 kernel using Clang with MinSizeRel",
"inherits": [
"Base",
"x64",
"Clang",
"MinSizeRelease"
]
},
{
"name": "x86_64-gcc",
"description": "Build x86_64 kernel using gcc cross compiler with RelWithDebInfo",
"inherits": [
"Base",
"x64",
"GCC",
"ReleaseWithDebug"
]
},
{
"name": "x86_64-gcc-debug",
"description": "Build x86_64 kernel using gcc cross compiler with Debug",
"inherits": [
"Base",
"x64",
"GCC",
"Debug"
]
},
{
"name": "x86_64-gcc-release",
"description": "Build x86_64 kernel using gcc cross compiler with Release",
"inherits": [
"Base",
"x64",
"GCC",
"Release"
]
},
{
"name": "x86_64-gcc-minsize",
"description": "Build x86_64 kernel using gcc cross compiler with MinSizeRel",
"inherits": [
"Base",
"x64",
"GCC",
"MinSizeRelease"
]
}
],
"buildPresets": [
{
"name": "x86_64-clang",
"configurePreset": "x86_64-clang"
},
{
"name": "x86_64-clang-debug",
"configurePreset": "x86_64-clang-debug"
},
{
"name": "x86_64-clang-minsize",
"configurePreset": "x86_64-clang-minsize"
},
{
"name": "x86_64-clang-release",
"configurePreset": "x86_64-clang-release"
},
{
"name": "x86_64-gcc",
"configurePreset": "x86_64-gcc"
},
{
"name": "x86_64-gcc-debug",
"configurePreset": "x86_64-gcc-debug"
},
{
"name": "x86_64-gcc-minsize",
"configurePreset": "x86_64-gcc-minsize"
},
{
"name": "x86_64-gcc-release",
"configurePreset": "x86_64-gcc-release"
}
]
}