|
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 | 138 | "markdownDescription": "Global Params", |
127 | 139 | "description.zh-cn": "编译器全局参数", |
|
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": "all-warnings", |
| 249 | + "enum": [ |
| 250 | + "no-warnings", |
| 251 | + "all-warnings" |
| 252 | + ] |
| 253 | + }, |
| 254 | + "turn-Warning-into-errors": { |
| 255 | + "markdownDescription": "Turn warnings into errors", |
| 256 | + "description.zh-cn": "将警告转化为错误", |
| 257 | + "type": "boolean" |
| 258 | + }, |
187 | 259 | "C_FLAGS": { |
188 | 260 | "markdownDescription": "C Compiler Params", |
189 | 261 | "description.zh-cn": "C 编译器参数", |
190 | 262 | "$ref": "#/definitions/FLAGS", |
191 | | - "default": "-c -x c" |
| 263 | + "default": "" |
192 | 264 | }, |
193 | 265 | "CXX_FLAGS": { |
194 | 266 | "markdownDescription": "C++ Compiler Params", |
195 | 267 | "description.zh-cn": "C++ 编译器参数", |
196 | 268 | "$ref": "#/definitions/FLAGS", |
197 | | - "default": "-c -x c++" |
| 269 | + "default": "" |
198 | 270 | } |
199 | 271 | } |
200 | 272 | }, |
|
255 | 327 | "markdownDescription": "Remove Unused Input Sections (-Wl,--gc-sections)", |
256 | 328 | "type": "boolean" |
257 | 329 | }, |
| 330 | + "print-mem-usage": { |
| 331 | + "markdownDescription": "Print Memory Usage For Each Section (-Wl,--print-memory-usage)", |
| 332 | + "type": "boolean" |
| 333 | + }, |
258 | 334 | "elf-suffix": { |
259 | 335 | "type": "string", |
260 | 336 | "size": "small", |
|
0 commit comments