48 lines
1.3 KiB
JSON
48 lines
1.3 KiB
JSON
{
|
|
"tasks": [
|
|
{
|
|
"type": "cppbuild",
|
|
"label": "C/C++: gcc build active file",
|
|
"command": "/usr/bin/gcc",
|
|
"args": [
|
|
"-fdiagnostics-color=always",
|
|
"-g",
|
|
"${file}",
|
|
"-o",
|
|
"${fileDirname}/${fileBasenameNoExtension}"
|
|
],
|
|
"options": {
|
|
"cwd": "${fileDirname}"
|
|
},
|
|
"problemMatcher": [
|
|
"$gcc"
|
|
],
|
|
"group": "build",
|
|
"detail": "Task generated by Debugger."
|
|
},
|
|
{
|
|
"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": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"detail": "Task generated by Debugger."
|
|
}
|
|
],
|
|
"version": "2.0.0"
|
|
} |