{
  "version": "2.0.0",
  "options": {
    "cwd": "${workspaceFolder}",
    "shell": {
      "executable": "cmd.exe",
      "args": [
        "/d",
        "/c"
      ]
    }
  },
  "tasks": [
    {
      "label": "build-friidump-msvc32",
      "type": "shell",
      "command": "if not exist \"${workspaceFolder}\\build-msvc32\" mkdir \"${workspaceFolder}\\build-msvc32\" && \"${workspaceFolder}\\.vscode\\msvc32.cmd\" cl @\"${workspaceFolder}\\msvc32_friidump.rsp\"",
      "group": {
        "kind": "build",
        "isDefault": true
      },
      "problemMatcher": [
        "$msCompile"
      ]
    },
    {
      "label": "help-friidump",
      "type": "shell",
      "command": "\"${workspaceFolder}\\friidump.exe\" --help",
      "group": "test",
      "problemMatcher": []
    },
    {
      "label": "zip-build-results",
      "type": "shell",
      "command": "powershell -NoProfile -ExecutionPolicy Bypass -Command \"Compress-Archive -Force -Path friidump.exe,docs,README,AUTHORS,COPYING,config.h,msvc32_friidump.rsp,build_msvc32.cmd,.vscode -DestinationPath friidump_msvc32_build_results.zip\"",
      "problemMatcher": []
    },
    {
      "label": "clean-friidump-msvc32",
      "type": "shell",
      "command": "if exist \"${workspaceFolder}\\friidump.exe\" del /q \"${workspaceFolder}\\friidump.exe\" & if exist \"${workspaceFolder}\\build-msvc32\" rmdir /s /q \"${workspaceFolder}\\build-msvc32\" & if exist \"${workspaceFolder}\\friidump_msvc32_build_results.zip\" del /q \"${workspaceFolder}\\friidump_msvc32_build_results.zip\"",
      "problemMatcher": []
    },
    {
      "label": "build-all",
      "dependsOrder": "sequence",
      "dependsOn": [
        "build-friidump-msvc32",
        "help-friidump",
        "zip-build-results"
      ],
      "group": "build",
      "problemMatcher": []
    }
  ]
}
