48 lines
1.4 KiB
JSON
48 lines
1.4 KiB
JSON
{
|
|
"tasks": [
|
|
{
|
|
"type": "cppbuild",
|
|
"label": "C/C++: cl.exe build active file",
|
|
"command": "cl.exe",
|
|
"args": [
|
|
"/Zi",
|
|
"/EHsc",
|
|
"/nologo",
|
|
"/Fe${fileDirname}\\${fileBasenameNoExtension}.exe",
|
|
"${file}"
|
|
],
|
|
"options": {
|
|
"cwd": "${fileDirname}"
|
|
},
|
|
"problemMatcher": [
|
|
"$msCompile"
|
|
],
|
|
"group": "build",
|
|
"detail": "Task generated by Debugger."
|
|
},
|
|
{
|
|
"type": "cppbuild",
|
|
"label": "C/C++: g++.exe build active file",
|
|
"command": "C:\\Program Files\\mingw-w64\\x86_64-8.1.0-posix-seh-rt_v6-rev0\\mingw64\\bin\\g++.exe",
|
|
"args": [
|
|
"-fdiagnostics-color=always",
|
|
"-g",
|
|
"${file}",
|
|
"-o",
|
|
"${fileDirname}\\${fileBasenameNoExtension}.exe"
|
|
],
|
|
"options": {
|
|
"cwd": "${fileDirname}"
|
|
},
|
|
"problemMatcher": [
|
|
"$gcc"
|
|
],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"detail": "Task generated by Debugger."
|
|
}
|
|
],
|
|
"version": "2.0.0"
|
|
} |