23/07/2022 17:18
Opa mano tenta usar esta tasks.json:
Código:
{
"version": "2.0.0",
"tasks": [
{
"label": "Compile",
"type": "shell",
"command": "${workspaceRoot}/pawno/pawncc.exe",
"args": ["${file}", "--%", "-Dgamemodes", "-;+", "-(+", "-O1"],
"group": {
"kind": "build",
"isDefault": true
},
"isBackground": false,
"presentation": {
"reveal": "silent",
"panel": "dedicated"
},
"problemMatcher": "$pawncc"
},
{
"label": "Compile-Debug",
"type": "shell",
"command": "${workspaceRoot}/pawno/pawncc.exe",
"args": ["${file}", "--%", "-Dgamemodes", "-;+", "-(+", "-d3", "-O1"],
"group": {
"kind": "build",
"isDefault": true
},
"isBackground": false,
"presentation": {
"reveal": "silent",
"panel": "dedicated"
},
"problemMatcher": "$pawncc"
},
{
"label": "ASM",
"type": "shell",
"command": "${workspaceRoot}/pawno/pawncc.exe",
"args": ["${file}", "--%", "-Dgamemodes", "-;+", "-(+", "-a"],
"group": {
"kind": "build",
"isDefault": true
},
"isBackground": false,
"presentation": {
"reveal": "silent",
"panel": "dedicated"
},
"problemMatcher": "$pawncc"
},
{
"label": "Reference",
"type": "shell",
"command": "${workspaceRoot}/pawno/pawncc.exe",
"args": ["${file}", "--%", "-Dgamemodes", "-;+", "-(+", "-r"],
"group": {
"kind": "build",
"isDefault": true
},
"isBackground": false,
"presentation": {
"reveal": "silent",
"panel": "dedicated"
},
"problemMatcher": "$pawncc"
},
{
"label": "Debug-Reference",
"type": "shell",
"command": "${workspaceRoot}/pawno/pawncc.exe",
"args": ["${file}", "--%", "-Dgamemodes", "-;+", "-(+", "-d3", "-r", ],
"group": {
"kind": "build",
"isDefault": true
},
"isBackground": false,
"presentation": {
"reveal": "silent",
"panel": "dedicated"
},
"problemMatcher": "$pawncc"
}
]
}
Técnico em desenvolvimento de sistemas e Administrador de banco de dados
Programador C/C++
https://github.com/LouzinDeev
Programador C/C++
https://github.com/LouzinDeev