tasks.json 790 Bytes
Newer Older
TheNumbat's avatar
TheNumbat committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
    // See https://go.microsoft.com/fwlink/?LinkId=733558
    // for the documentation about the tasks.json format
    "version": "2.0.0",
    "tasks": [
        {
            "label": "Build Release",
            "type": "shell",
            "command": "mkdir build_rel ; pushd build_rel ; CC=clang CXX=clang++ cmake -DCMAKE_BUILD_TYPE=Release .. ; make -j7 ; popd",
            "args": [],
            "group": "build",
            "problemMatcher": "$gcc"
        },
        {
            "label": "Build Debug",
            "type": "shell",
            "command": "mkdir build_dbg ; pushd build_dbg ; CC=clang CXX=clang++ cmake -DCMAKE_BUILD_TYPE=Debug .. ; make -j7 ; popd",
            "args": [],
            "group": "build",
            "problemMatcher": "$gcc"
        }
    ]
}