Mux213

Godot-cpp vscode tasks.json

Aug 21st, 2021 (edited)
379
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 2.75 KB | None | 0 0
  1. {
  2.     // See https://go.microsoft.com/fwlink/?LinkId=733558
  3.     // for the documentation about the tasks.json format
  4.     "version": "2.0.0",
  5.     "tasks": [
  6.         {
  7.             "label": "build godot-cpp debug",
  8.             "type": "shell",
  9.             "command": "scons",
  10.             "group": "build",
  11.             "windows": {
  12.                 "args": [
  13.                     "target=debug",
  14.                     "platform=windows",
  15.                     "-j8"
  16.                 ]
  17.             },
  18.             "linux": {
  19.                 "args": [
  20.                     "target=debug",
  21.                     "platform=x11",
  22.                     "-j8"
  23.                 ]
  24.             },
  25.             "problemMatcher": "$msCompile"
  26.         },
  27.         {
  28.             "label": "build godot-cpp release",
  29.             "type": "shell",
  30.             "command": "scons",
  31.             "group": "build",
  32.             "windows": {
  33.                 "args": [
  34.                     "target=release",
  35.                     "platform=windows",
  36.                     "-j8"
  37.                 ]
  38.             },
  39.             "linux": {
  40.                 "args": [
  41.                     "target=release",
  42.                     "platform=x11",
  43.                     "-j8"
  44.                 ]
  45.             },
  46.             "problemMatcher": "$msCompile"
  47.         },
  48.         {
  49.             "label": "build test debug",
  50.             "type": "shell",
  51.             "options": {
  52.                 "cwd": "${workspaceFolder}/test"
  53.             },
  54.             "command": "scons",
  55.             "group": "build",
  56.             "windows": {
  57.                 "args": [
  58.                     "target=debug",
  59.                     "platform=windows",
  60.                     "-j8"
  61.                 ]
  62.             },
  63.             "linux": {
  64.                 "args": [
  65.                     "target=debug",
  66.                     "platform=x11",
  67.                     "-j8"
  68.                 ]
  69.             },
  70.             // "dependsOn": "build godot-cpp debug",
  71.             "problemMatcher": "$msCompile"
  72.         },
  73.         {
  74.             "label": "build test release",
  75.             "type": "shell",
  76.             "options": {
  77.                 "cwd": "${workspaceFolder}/test"
  78.             },
  79.             "command": "scons",
  80.             "group": "build",
  81.             "windows": {
  82.                 "args": [
  83.                     "target=release",
  84.                     "platform=windows",
  85.                     "-j8"
  86.                 ]
  87.             },
  88.             "linux": {
  89.                 "args": [
  90.                     "target=release",
  91.                     "platform=x11",
  92.                     "-j8"
  93.                 ]
  94.             },
  95.             // "dependsOn": "build godot-cpp release",
  96.             "problemMatcher": "$msCompile"
  97.         },
  98.    ]
  99. }
Add Comment
Please, Sign In to add comment