Advertisement
yarin0600

Untitled

Nov 15th, 2023
693
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.78 KB | None | 0 0
  1. {
  2.    "version": "2.0.0",
  3.    "tasks": [
  4.      {
  5.        "label": "Compile Selected CPP File",
  6.        "type": "shell",
  7.        "command": "g++",
  8.        "args": [],
  9.        "presentation": {
  10.          "echo": true,
  11.          "reveal": "always",
  12.          "focus": true,
  13.          "panel": "shared"
  14.        },
  15.        "group": {
  16.          "kind": "build",
  17.          "isDefault": true
  18.        },
  19.        "dependsOn": "listCppFiles"
  20.      },
  21.      {
  22.        "label": "List CPP Files",
  23.        "type": "shell",
  24.        "command": "bash",
  25.        "args": [
  26.          "-c",
  27.          "ls -1 ${workspaceFolder}/**/*.cpp"
  28.        ],
  29.        "problemMatcher": [],
  30.        "group": {
  31.          "kind": "build",
  32.          "isDefault": true
  33.        },
  34.        "identifier": "listCppFiles"
  35.      }
  36.    ]
  37.  }
  38.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement