{
    // See https://go.microsoft.com/fwlink/?LinkId=733558
    // for the documentation about the tasks.json format
    "version": "2.0.0",
        "options": {
            "env": {
            "MAME": "C:\\NeoDev\\mame\\mame.exe",
            //"path": "%NEODEV%\\m68k\\bin;%path%"
            }
    },
    "tasks": [
    {
        "label": "Build Neo Geo ROM",
        "type": "shell",
        "command": "make",
        "presentation": {
            "reveal": "always"
        },
        "problemMatcher": []
    },
    {
        "label": "Clean",
        "type": "shell",
        "command": "make clean",
        "presentation": {
            "reveal": "always"
        },
        "problemMatcher": []
    },
    {
        "label": "Copy ROMS to MAME",
        "type": "shell",
        "command": "make copyroms",
        "presentation": {
            "reveal": "always"
        },
        "problemMatcher": []
    },
    {
        "label": "Run in MAME",
        "type": "shell",
        "windows": {
            "command": "mame.bat"
        },  
        "presentation": {
            "reveal": "never"
        },
        "problemMatcher": []
    },
    {
        "label": "Debug in MAME",
        "type": "shell",
        "windows": {
            "command": "mame_debug.bat"
        },  
        "presentation": {
            "reveal": "never"
        },
        "problemMatcher": []
    },
    {
        "label": "Build CHAR ROMS",
        "type": "shell",
        "windows": {
            "command": "make char"
        },  
        "presentation": {
            "reveal": "always"
        },
        "problemMatcher": []
    },
    {
        "label": "Build Fix ROMS",
        "type": "shell",
        "windows": {
            "command": "make fix"
        },  
        "presentation": {
            "reveal": "always"
        },
        "problemMatcher": []
    },
    {
        "label": "Build and Run",
        "dependsOrder": "sequence",
        "dependsOn": [
            "Clean",
            "Build Neo Geo ROM",
            "Copy ROMS to MAME",
            "Run in MAME"
        ],
        "problemMatcher": [],
        "group": {
            "kind": "build",
            "isDefault": true
        }
    }
    ]
}