Double posting here, but I started using pawncc on my Linux distro again (last time it wouldn't work, no idea why (multilib was on)).
This is what I'm using:
Note that you should change:
- Path to your pawncc binary (although you really should place it in /usr/bin, thus you should not actually change this here)
- Path to your includes directory
- Eventual extra compile parameters. My script handles all the other parameters (depening on what environment it's being compiled on)
This is what I'm using:
Code:
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "build",
"type": "shell",
"command": "/usr/bin/pawncc",
"args": ["${file}", "\"-;\"", "\"-(\"", "-i\"/home/kevin/.pawno/includes/\""],
"group": {
"kind": "build",
"isDefault": true
},
"isBackground": false,
"presentation":{
"reveal": "silent",
"clear": false,
"panel": "dedicated"
},
"problemMatcher": [
{
"base":"$pawncc",
"fileLocation": "relative"
}
]
}
]
}
Note that you should change:
- Path to your pawncc binary (although you really should place it in /usr/bin, thus you should not actually change this here)
- Path to your includes directory
- Eventual extra compile parameters. My script handles all the other parameters (depening on what environment it's being compiled on)