{
    // See https://go.microsoft.com/fwlink/?LinkId=733558
    // for the documentation about the tasks.json format
    "version": "2.0.0",
    "tasks": [
        {
            "label": "Build Profiler GUI",
            "type": "shell",
            "command": "CC=clang CXX=clang++ make debug -C profiler/build/unix -j `nproc`",  
            "group": {
                "kind": "build",
                "isDefault": true
            },
            "presentation": {
                "close": true
            }
        },
        {
            "label": "Build capture tool",
            "type": "shell",
            "command": "CC=clang CXX=clang++ make debug -C capture/build/unix -j `nproc`",  
            "group": {
                "kind": "build",
                "isDefault": true
            },
            "presentation": {
                "close": true
            }
        },
        {
            "label": "Build csvexport tool",
            "type": "shell",
            "command": "CC=clang CXX=clang++ make debug -C csvexport/build/unix -j `nproc`",  
            "group": {
                "kind": "build",
                "isDefault": true
            },
            "presentation": {
                "close": true
            }
        },
        {
            "label": "Build import-chrome tool",
            "type": "shell",
            "command": "CC=clang CXX=clang++ make debug -C import-chrome/build/unix -j `nproc`",  
            "group": {
                "kind": "build",
                "isDefault": true
            }
        },
        {
            "label": "Build update tool",
            "type": "shell",
            "command": "CC=clang CXX=clang++ make debug -C update/build/unix -j `nproc`",  
            "group": {
                "kind": "build",
                "isDefault": true
            },
            "presentation": {
                "close": true
            }
        },
        {
            "label": "Build client library",
            "type": "shell",
            "command": "CC=clang CXX=clang++ make debug -C library/unix -j `nproc`",  
            "group": {
                "kind": "build",
                "isDefault": true
            },
            "presentation": {
                "close": true
            }
        },
        {
            "label": "Build test application",
            "type": "shell",
            "command": "CC=clang CXX=clang++ make OPTFLAGS=-DTRACY_VERBOSE\\ -fno-omit-frame-pointer\\ -march=native\\ -g -C test -j `nproc`",  
            "group": {
                "kind": "build",
                "isDefault": true
            },
            "presentation": {
                "close": true
            }
        }
    ]
}