summaryrefslogtreecommitdiffhomepage
path: root/projects/VSCode_tcc_win/.vscode/tasks.json
blob: d9446fdb1a1817ba151ac46d93d3bb62f556574e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
    // See https://go.microsoft.com/fwlink/?LinkId=733558
    // for the documentation about the tasks.json format
    "version": "2.0.0",
    "windows": {
        "options": {
            "shell": {
                "executable": "C:\\windows\\System32\\cmd.exe",
                "args": [
                    "/d", "/c"
                ]
            }
        }
    },
    "tasks": [
        {
            "label": "build & run",
            "type": "shell",
            "command": "make.exe all workplaceFolder=${workspaceFolder} outputExe=${workspaceFolderBasename}.exe",
            "args":[
                "&& ${workspaceFolderBasename}.exe",
            ],
            "options": {
                "env":{
                    "PATH" : "C:\\raylib\\tcc\\;%PATH%"
                }
            },
            "group": {
                "kind": "build",
                "isDefault": true
            },
            "problemMatcher": [
                "$gcc"
            ]
        }
    ]
}