Advertisement
Tibers

task compile

Jan 26th, 2024
553
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.20 KB | None | 1 0
  1. default task
  2. {
  3.     // See https://go.microsoft.com/fwlink/?LinkId=733558
  4.     // for the documentation about the tasks.json format
  5.     "version": "2.0.0",
  6.     "tasks": [
  7.         {
  8.             "label": "echo",
  9.             "type": "shell",
  10.             "command": "echo Hello"
  11.         }
  12.     ]
  13. }
  14.  
  15. change to:
  16.  
  17. {
  18.     // See https://go.microsoft.com/fwlink/?LinkId=733558
  19.     // for the documentation about the tasks.json format
  20.     "version": "2.0.0",
  21.     "tasks": [
  22.         {
  23.             "taskName": "Compile Plugin",
  24.             "type": "process",
  25.             "command": "${workspaceRoot}\\amxxpc.exe",
  26.             "args": [
  27.                 "${file}",
  28.                 "-i${workspaceRoot}\\include",
  29.                 "-o${workspaceRoot}\\compiled\\${fileBasenameNoExtension}.amxx"
  30.             ],
  31.             "group": {
  32.                 "kind": "build",
  33.                 "isDefault": true
  34.             }
  35.         }
  36.     ]
  37. }
  38.  
  39. settings - add your path.
  40.  
  41. {
  42.     "amxxpawn.compiler.executablePath": "C:\\Users\\Admin\\Desktop\\D LOCAL\\compiler 1.9.0 custoM\\amxxpc.exe",
  43.     "amxxpawn.compiler.includePaths": [
  44.         "C:\\Users\\Admin\\Desktop\\D LOCAL\\compiler 1.9.0 custoM\\include"
  45.     ]
  46. }
  47.  
Tags: zaza
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement