|
122 | 122 | "description.zh-cn": "全局选项", |
123 | 123 | "type": "object", |
124 | 124 | "properties": { |
| 125 | + "output-debug-info": { |
| 126 | + "markdownDescription": "Output debug information", |
| 127 | + "description.zh-cn": "输出调试信息", |
| 128 | + "type": "string", |
| 129 | + "default": "disable", |
| 130 | + "enum": [ |
| 131 | + "disable", |
| 132 | + "enable", |
| 133 | + "dwarf-2", |
| 134 | + "dwarf-3" |
| 135 | + ] |
| 136 | + }, |
125 | 137 | "misc-control": { |
126 | | - "markdownDescription": "Global Params", |
127 | | - "description.zh-cn": "编译器全局参数", |
| 138 | + "markdownDescription": "Global Options", |
| 139 | + "description.zh-cn": "编译器全局选项", |
128 | 140 | "$ref": "#/definitions/FLAGS", |
129 | 141 | "default": "" |
130 | 142 | } |
|
135 | 147 | "description.zh-cn": "C/C++ 编译器选项", |
136 | 148 | "type": "object", |
137 | 149 | "properties": { |
| 150 | + "language-c": { |
| 151 | + "markdownDescription": "C Standard", |
| 152 | + "description.zh-cn": "C 标准", |
| 153 | + "type": "string", |
| 154 | + "default": "", |
| 155 | + "enum": [ |
| 156 | + "c89", |
| 157 | + "c90", |
| 158 | + "c99", |
| 159 | + "c11", |
| 160 | + "c17", |
| 161 | + "c23", |
| 162 | + "gnu89", |
| 163 | + "gnu90", |
| 164 | + "gnu99", |
| 165 | + "gnu11", |
| 166 | + "gnu17", |
| 167 | + "gnu23" |
| 168 | + ] |
| 169 | + }, |
| 170 | + "language-cpp": { |
| 171 | + "markdownDescription": "C++ Standard", |
| 172 | + "description.zh-cn": "C++ 标准", |
| 173 | + "type": "string", |
| 174 | + "default": "", |
| 175 | + "enum": [ |
| 176 | + "c++98", |
| 177 | + "gnu++98", |
| 178 | + "c++11", |
| 179 | + "gnu++11", |
| 180 | + "c++14", |
| 181 | + "gnu++14", |
| 182 | + "c++17", |
| 183 | + "gnu++17", |
| 184 | + "c++20", |
| 185 | + "gnu++20", |
| 186 | + "c++23", |
| 187 | + "gnu++23" |
| 188 | + ] |
| 189 | + }, |
138 | 190 | "optimization": { |
139 | 191 | "markdownDescription": "Optimization Level", |
140 | 192 | "description.zh-cn": "代码优化级别", |
|
174 | 226 | "markdownDescription": "Data Sections (-fdata-sections)", |
175 | 227 | "type": "boolean" |
176 | 228 | }, |
| 229 | + "signed-char": { |
| 230 | + "markdownDescription": "Signed Char (-fsigned-char)", |
| 231 | + "description.zh-cn": "Signed Char (-fsigned-char)", |
| 232 | + "type": "boolean" |
| 233 | + }, |
177 | 234 | "no-rtti": { |
178 | 235 | "markdownDescription": "Not use RTTI (-fno-rtti)", |
179 | 236 | "description.zh-cn": "禁用运行时类型信息 (-fno-rtti)", |
|
184 | 241 | "description.zh-cn": "禁用异常处理 (-fno-exceptions)", |
185 | 242 | "type": "boolean" |
186 | 243 | }, |
| 244 | + "warnings": { |
| 245 | + "markdownDescription": "Warning Level", |
| 246 | + "description.zh-cn": "警告等级", |
| 247 | + "type": "string", |
| 248 | + "default": "unspecified", |
| 249 | + "enum": [ |
| 250 | + "unspecified", |
| 251 | + "no-warnings", |
| 252 | + "all-warnings" |
| 253 | + ] |
| 254 | + }, |
| 255 | + "turn-Warning-into-errors": { |
| 256 | + "markdownDescription": "Turn warnings into errors", |
| 257 | + "description.zh-cn": "将警告转化为错误", |
| 258 | + "type": "boolean" |
| 259 | + }, |
187 | 260 | "C_FLAGS": { |
188 | | - "markdownDescription": "C Compiler Params", |
189 | | - "description.zh-cn": "C 编译器参数", |
| 261 | + "markdownDescription": "C Compiler Options", |
| 262 | + "description.zh-cn": "C 编译器选项", |
190 | 263 | "$ref": "#/definitions/FLAGS", |
191 | | - "default": "-c -x c" |
| 264 | + "default": "" |
192 | 265 | }, |
193 | 266 | "CXX_FLAGS": { |
194 | | - "markdownDescription": "C++ Compiler Params", |
195 | | - "description.zh-cn": "C++ 编译器参数", |
| 267 | + "markdownDescription": "C++ Compiler Options", |
| 268 | + "description.zh-cn": "C++ 编译器选项", |
196 | 269 | "$ref": "#/definitions/FLAGS", |
197 | | - "default": "-c -x c++" |
| 270 | + "default": "" |
198 | 271 | } |
199 | 272 | } |
200 | 273 | }, |
|
215 | 288 | }, |
216 | 289 | "ASM_FLAGS": { |
217 | 290 | "markdownDescription": "Assembler Options", |
218 | | - "description.zh-cn": "汇编器参数", |
| 291 | + "description.zh-cn": "汇编器选项", |
219 | 292 | "$ref": "#/definitions/FLAGS", |
220 | 293 | "default": "-c -x assembler" |
221 | 294 | } |
|
251 | 324 | "LIB" |
252 | 325 | ] |
253 | 326 | }, |
| 327 | + "$disableOutputTask": { |
| 328 | + "type": "boolean", |
| 329 | + "markdownDescription": "Don't Output Hex/Bin/S19 Files", |
| 330 | + "description.zh-cn": "不生成 Hex/Bin/S19 等二进制文件", |
| 331 | + "enum": [ |
| 332 | + true, |
| 333 | + false |
| 334 | + ] |
| 335 | + }, |
| 336 | + "$outputTaskExcludes": { |
| 337 | + "type": "array", |
| 338 | + "markdownDescription": "Don't Output Specific Binary Files", |
| 339 | + "description.zh-cn": "不生成指定的二进制文件", |
| 340 | + "default": [], |
| 341 | + "items": { |
| 342 | + "type": "string", |
| 343 | + "default": ".bin", |
| 344 | + "enum": [ |
| 345 | + ".bin", |
| 346 | + ".hex" |
| 347 | + ], |
| 348 | + "enumDescriptions": [ |
| 349 | + "*.bin file", |
| 350 | + "*.hex file" |
| 351 | + ] |
| 352 | + } |
| 353 | + }, |
254 | 354 | "remove-unused-input-sections": { |
255 | 355 | "markdownDescription": "Remove Unused Input Sections (-Wl,--gc-sections)", |
256 | 356 | "type": "boolean" |
257 | 357 | }, |
| 358 | + "print-mem-usage": { |
| 359 | + "markdownDescription": "Print Memory Usage For Each Section (-Wl,--print-memory-usage)", |
| 360 | + "type": "boolean" |
| 361 | + }, |
258 | 362 | "elf-suffix": { |
259 | 363 | "type": "string", |
260 | 364 | "size": "small", |
|
265 | 369 | "default": ".elf" |
266 | 370 | }, |
267 | 371 | "LD_FLAGS": { |
268 | | - "readable_name": "Linker Flags", |
269 | | - "readable_name.zh-cn": "链接器参数", |
| 372 | + "readable_name": "Linker Options", |
| 373 | + "readable_name.zh-cn": "链接器选项", |
270 | 374 | "markdownDescription": "Use '-Wl[,option]...' pass options to the linker", |
271 | 375 | "description.zh-cn": "使用 '-Wl[,option]...' 传递链接器选项", |
272 | 376 | "$ref": "#/definitions/FLAGS", |
273 | 377 | "default": "" |
274 | 378 | }, |
275 | 379 | "LIB_FLAGS": { |
276 | | - "readable_name": "Lib Flags", |
| 380 | + "readable_name": "Lib Options", |
277 | 381 | "readable_name.zh-cn": "链接库", |
278 | 382 | "markdownDescription": "Lib Flags, like: -lxxx", |
279 | 383 | "description.zh-cn": "链接库,例如:-lxxx", |
|
0 commit comments