From 4bc9f9ccd81b7f0e185316caa174e0560fd8a382 Mon Sep 17 00:00:00 2001 From: iridiumR Date: Fri, 15 Oct 2021 15:23:25 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/tasks.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 102eb71..f93883a 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -21,6 +21,26 @@ "isDefault": true }, "detail": "调试器生成的任务。" + }, + { + "type": "cppbuild", + "label": "C/C++: g++.exe 生成活动文件", + "command": "C:\\Project\\mingw64\\bin\\g++.exe", + "args": [ + "-fdiagnostics-color=always", + "-g", + "${file}", + "-o", + "${fileDirname}\\${fileBasenameNoExtension}.exe" + ], + "options": { + "cwd": "${fileDirname}" + }, + "problemMatcher": [ + "$gcc" + ], + "group": "build", + "detail": "编译器: C:\\Project\\mingw64\\bin\\g++.exe" } ], "version": "2.0.0"