• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Server] Compile GM with VSCODE on Linux
#11
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:
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)
  Reply


Messages In This Thread
Compile GM with VSCODE on Linux - by annety - 2021-04-02, 06:31 PM
RE: Compile GM with VSCODE on Linux - by Awide - 2021-04-03, 09:55 AM
RE: Compile GM with VSCODE on Linux - by annety - 2021-04-10, 02:25 AM
RE: Compile GM with VSCODE on Linux - by Awide - 2021-04-10, 11:32 AM
RE: Compile GM with VSCODE on Linux - by annety - 2021-04-20, 06:20 AM
RE: Compile GM with VSCODE on Linux - by annety - 2021-04-28, 11:04 AM
RE: Compile GM with VSCODE on Linux - by annety - 2021-06-17, 10:05 PM
RE: Compile GM with VSCODE on Linux - by Pinch - 2021-06-17, 10:08 PM
RE: Compile GM with VSCODE on Linux - by annety - 2021-06-20, 12:43 AM
RE: Compile GM with VSCODE on Linux - by Kwarde - 2021-06-20, 10:57 AM
RE: Compile GM with VSCODE on Linux - by Kwarde - 2021-07-10, 09:47 AM
RE: Compile GM with VSCODE on Linux - by hiwyn - 2021-09-29, 01:05 AM
RE: Compile GM with VSCODE on Linux - by Kwarde - 2021-09-29, 07:22 PM
RE: Compile GM with VSCODE on Linux - by hiwyn - 2021-10-02, 12:27 PM
RE: Compile GM with VSCODE on Linux - by hiwyn - 2021-10-06, 11:39 AM
RE: Compile GM with VSCODE on Linux - by Radical - 2021-10-11, 03:22 PM
RE: Compile GM with VSCODE on Linux - by hiwyn - 2021-10-15, 04:52 PM
RE: Compile GM with VSCODE on Linux - by hiwyn - 2021-10-18, 07:41 PM
RE: Compile GM with VSCODE on Linux - by hiwyn - 2021-10-20, 11:57 PM
RE: Compile GM with VSCODE on Linux - by Banditul - 2021-10-21, 05:52 AM
RE: Compile GM with VSCODE on Linux - by hiwyn - 2021-10-22, 05:22 AM
RE: Compile GM with VSCODE on Linux - by hiwyn - 2021-10-25, 01:39 AM

Forum Jump: