49 lines
1.3 KiB
JSON
49 lines
1.3 KiB
JSON
|
{
|
||
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||
|
// for the documentation about the tasks.json format
|
||
|
"version": "2.0.0",
|
||
|
"tasks": [
|
||
|
{
|
||
|
"type": "shell",
|
||
|
"label": "gcc.exe build active file",
|
||
|
"command": "C:\\MinGW\\bin\\gcc.exe",
|
||
|
"args": [
|
||
|
"-g",
|
||
|
"-ansi",
|
||
|
"-pedantic",
|
||
|
"-Wall",
|
||
|
"${file}",
|
||
|
"-o",
|
||
|
"${fileDirname}\\${fileBasenameNoExtension}.exe"
|
||
|
],
|
||
|
"options": {
|
||
|
"cwd": "C:\\MinGW\\bin"
|
||
|
},
|
||
|
"problemMatcher": [
|
||
|
"$gcc"
|
||
|
],
|
||
|
"group": "build"
|
||
|
},
|
||
|
{
|
||
|
"type": "shell",
|
||
|
"label": "gcc.exe build active file",
|
||
|
"command": "C:\\MinGW\\bin\\gcc.exe",
|
||
|
"args": [
|
||
|
"-g",
|
||
|
"${file}",
|
||
|
"-o",
|
||
|
"${fileDirname}\\${fileBasenameNoExtension}.exe"
|
||
|
],
|
||
|
"options": {
|
||
|
"cwd": "C:\\MinGW\\bin"
|
||
|
},
|
||
|
"problemMatcher": [
|
||
|
"$gcc"
|
||
|
],
|
||
|
"group": {
|
||
|
"kind": "build",
|
||
|
"isDefault": true
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|