{
   // See https://go.microsoft.com/fwlink/?LinkId=733558
   // for the documentation about the tasks.json format
   "version": "2.0.0",
   "tasks": [
      {
         "taskName": "msys2-mingw64 build",
         "type": "shell",

         "group": {
            "kind": "build",
            "isDefault": true },

         "command": "./configure; make -j2",
         "options": {
            "shell": {
               "executable": "C:\\msys64\\usr\\bin\\bash.exe",
               "args": [
                  "-c"
               ]
            }
         }
      }
      {
         "taskName": "msys2-mingw64 build with debug symbols",
         "type": "shell",

         "group": "build",

         "command": "./configure; DEBUG=1 make -j2",
         "options": {
            "shell": {
               "executable": "C:\\msys64\\usr\\bin\\bash.exe",
               "args": [
                  "-c"
               ]
            }
         }
      }
      {
         "taskName": "msys2-mingw64 rebuild",
         "type": "shell",

         "group": "build",

         "command": "make -j2",
         "options": {
            "shell": {
               "executable": "C:\\msys64\\usr\\bin\\bash.exe",
               "args": [
                  "-c"
               ]
            }
         }
      }
      {
         "taskName": "msys2-mingw64 clean",
         "type": "shell",

         "group": "build",

         "command": "make clean",
         "options": {
            "shell": {
               "executable": "C:\\msys64\\usr\\bin\\bash.exe",
               "args": [
                  "-c"
               ]
            }
         }
      }
      {
         "taskName": "msys2-mingw64 run",
         "type": "shell",

         "group": {
            "kind": "test",
            "isDefault": true },

         "command": "./retroarch -v",
         "options": {
            "shell": {
               "executable": "C:\\msys64\\usr\\bin\\bash.exe",
               "args": [
                  "-c"
               ]
            }
         }
      }
   ]
}