Update C code projects and configurations

This commit is contained in:
2025-08-04 13:00:16 +08:00
parent c9e57b4d41
commit 127ecdab8f
18 changed files with 159 additions and 155 deletions
+28
View File
@@ -0,0 +1,28 @@
{
"tasks":
[
{
"type": "shell",
"label": "C/C++: gcc.exe 生成活动文件",
"command": "D:\\Program Files\\mingw64\\bin\\gcc.exe",
"args":
[
"-fdiagnostics-color=always",
"-g",
"${file}",
"-o",
"${fileDirname}\\${fileBasenameNoExtension}.exe",
"-Wall",
"-Werror",
"-std=c++17",
"-fsanitize=address",
"-static-libasan"
],
"options": {"cwd": "${fileDirname}"},
"problemMatcher": ["$gcc"],
"group": {"kind": "build","isDefault": true},
"detail": "调试器生成的任务。"
}
],
"version": "2.0.0"
}