|
| 1 | +{ |
| 2 | + "tasks": [{ |
| 3 | + "label": "Zig: Build", |
| 4 | + "args": [ "build", "--summary", "all" ], |
| 5 | + "detail": "zig build --summary all", |
| 6 | + "command": "zig", "type": "shell", "options": { "cwd": "${workspaceRoot}" }, "group": { "kind": "build", "isDefault": true }, |
| 7 | + "presentation": { "group": "build", "echo": true, "reveal": "always", "focus": false, "panel": "shared", "showReuseMessage": false, "clear": true, "close": false }, "problemMatcher": [] |
| 8 | + }, |
| 9 | + { |
| 10 | + "label": "Zig: Build Release Safe.", |
| 11 | + "args": [ "build", "-Doptimize=ReleaseSafe", "--summary", "all" ], |
| 12 | + "detail": "zig build -Doptimize=ReleaseSafe --summary all", |
| 13 | + "command": "zig", "type": "shell", "options": { "cwd": "${workspaceRoot}" }, "group": { "kind": "build", "isDefault": false }, |
| 14 | + "presentation": { "group": "build", "echo": true, "reveal": "always", "focus": false, "panel": "shared", "showReuseMessage": false, "clear": true, "close": false }, "problemMatcher": [] |
| 15 | + }, |
| 16 | + { |
| 17 | + "label": "Zig: Build Release Fast.", |
| 18 | + "args": [ "build", "-Doptimize=ReleaseFast", "--summary", "all" ], |
| 19 | + "detail": "zig build -Doptimize=ReleaseFast --summary all", |
| 20 | + "command": "zig","type": "shell", "options": { "cwd": "${workspaceRoot}" }, "group": { "kind": "build", "isDefault": false }, |
| 21 | + "presentation": { "group": "build", "echo": true, "reveal": "always", "focus": false, "panel": "shared", "showReuseMessage": false, "clear": true, "close": false }, "problemMatcher": [] |
| 22 | + }, |
| 23 | + { |
| 24 | + "label": "Zig: Build Release Small.", |
| 25 | + "args": [ "build", "-Doptimize=ReleaseSmall", "--summary", "all" ], |
| 26 | + "detail": "zig build -Doptimize=ReleaseSmall --summary all", |
| 27 | + "command": "zig", "type": "shell", "options": { "cwd": "${workspaceRoot}" }, "group": { "kind": "build", "isDefault": false }, |
| 28 | + "presentation": { "group": "build", "echo": true, "reveal": "always", "focus": false, "panel": "shared", "showReuseMessage": false, "clear": true, "close": false }, "problemMatcher": [] |
| 29 | + }, |
| 30 | + { |
| 31 | + "label": "Zig: Build Release Strip.", |
| 32 | + "args": [ ], |
| 33 | + "detail": "zig build-exe -O ReleaseSmall -fstrip -fsingle-threaded (+ lots of options) main.zig", |
| 34 | + "command": "buildReleaseStrip.bat", "type": "shell", "options": { "cwd": "${workspaceRoot}\\tools" }, "group": { "kind": "build", "isDefault": false }, |
| 35 | + "presentation": { "group": "build", "echo": true, "reveal": "always", "focus": false, "panel": "shared", "showReuseMessage": false, "clear": true, "close": false }, "problemMatcher": [] |
| 36 | + }, |
| 37 | + { |
| 38 | + "label": "Zig: Test", |
| 39 | + "args": [ "test", "${file}" ], |
| 40 | + "detail": "'zig test' in the current workspace.", |
| 41 | + "command": "zig", "type": "shell", "options": { "cwd": "${workspaceRoot}" }, "group": { "kind": "test", "isDefault": true }, |
| 42 | + "presentation": { "group": "test", "echo": true, "reveal": "always", "focus": false, "panel": "shared", "showReuseMessage": false, "clear": true, "close": false }, "problemMatcher": [] |
| 43 | + }, |
| 44 | + { |
| 45 | + "label": "Zig: Run main", |
| 46 | + "args": [ "run", "-lc++", "-lgdi32", "-ldwmapi", "-lopengl32", "main.zig", |
| 47 | + "lib/imgui/cimgui.cpp", |
| 48 | + "lib/imgui/cimgui_impl_opengl3.cpp", |
| 49 | + "lib/imgui/cimgui_impl_win32.cpp", |
| 50 | + "lib/imgui/imgui.cpp", |
| 51 | + "lib/imgui/imgui_widgets.cpp", |
| 52 | + "lib/imgui/imgui_draw.cpp", |
| 53 | + "lib/imgui/imgui_tables.cpp", |
| 54 | + "lib/imgui/imgui_demo.cpp", |
| 55 | + "lib/imgui/imgui_impl_win32.cpp", |
| 56 | + "lib/imgui/imgui_impl_opengl3.cpp" |
| 57 | + ], |
| 58 | + "detail": "zig run main.zig", |
| 59 | + "command": "zig", "type": "shell", "options": { "cwd": "${workspaceRoot}" }, "group": { "kind": "none", "isDefault": true }, |
| 60 | + "presentation": { "group": "launch", "echo": true, "reveal": "always", "focus": false, "panel": "shared", "showReuseMessage": false, "clear": true, "close": false }, "problemMatcher": [] |
| 61 | + }, |
| 62 | + { |
| 63 | + "label": "Zig: Run main (With Args)", |
| 64 | + "args": [ "run", "-lc++", "-lgdi32", "-ldwmapi", "-lopengl32", "main.zig", |
| 65 | + "lib/imgui/cimgui.cpp", |
| 66 | + "lib/imgui/cimgui_impl_opengl3.cpp", |
| 67 | + "lib/imgui/cimgui_impl_win32.cpp", |
| 68 | + "lib/imgui/imgui.cpp", |
| 69 | + "lib/imgui/imgui_widgets.cpp", |
| 70 | + "lib/imgui/imgui_draw.cpp", |
| 71 | + "lib/imgui/imgui_tables.cpp", |
| 72 | + "lib/imgui/imgui_demo.cpp", |
| 73 | + "lib/imgui/imgui_impl_win32.cpp", |
| 74 | + "lib/imgui/imgui_impl_opengl3.cpp", "--", "ArgsForYourProgram" ], |
| 75 | + "detail": "zig run main.zig -- ArgsForYourProgram", |
| 76 | + "command": "zig", "type": "shell", "options": { "cwd": "${workspaceRoot}" }, "group": { "kind": "none", "isDefault": false }, |
| 77 | + "presentation": { "group": "launch", "echo": true, "reveal": "always", "focus": false, "panel": "shared", "showReuseMessage": false, "clear": true, "close": false }, "problemMatcher": [] |
| 78 | + }, |
| 79 | + { |
| 80 | + "label": "Zig: Run main (Fast)", |
| 81 | + "args": [ "run", "-lc++", "-lgdi32", "-ldwmapi", "-lopengl32", "main.zig", |
| 82 | + "lib/imgui/cimgui.cpp", |
| 83 | + "lib/imgui/cimgui_impl_opengl3.cpp", |
| 84 | + "lib/imgui/cimgui_impl_win32.cpp", |
| 85 | + "lib/imgui/imgui.cpp", |
| 86 | + "lib/imgui/imgui_widgets.cpp", |
| 87 | + "lib/imgui/imgui_draw.cpp", |
| 88 | + "lib/imgui/imgui_tables.cpp", |
| 89 | + "lib/imgui/imgui_demo.cpp", |
| 90 | + "lib/imgui/imgui_impl_win32.cpp", |
| 91 | + "lib/imgui/imgui_impl_opengl3.cpp", "-O", "ReleaseFast" ], |
| 92 | + "detail": "zig run main.zig -O ReleaseFast", |
| 93 | + "command": "zig", "type": "shell", "options": { "cwd": "${workspaceRoot}" }, "group": { "kind": "none", "isDefault": false }, |
| 94 | + "presentation": { "group": "launch", "echo": true, "reveal": "always", "focus": false, "panel": "shared", "showReuseMessage": false, "clear": true, "close": false }, "problemMatcher": [] |
| 95 | + }, |
| 96 | + { |
| 97 | + "label": "Zig: Run main (Safe)", |
| 98 | + "args": [ "run", "-lc++", "-lgdi32", "-ldwmapi", "-lopengl32", "main.zig", |
| 99 | + "lib/imgui/cimgui.cpp", |
| 100 | + "lib/imgui/cimgui_impl_opengl3.cpp", |
| 101 | + "lib/imgui/cimgui_impl_win32.cpp", |
| 102 | + "lib/imgui/imgui.cpp", |
| 103 | + "lib/imgui/imgui_widgets.cpp", |
| 104 | + "lib/imgui/imgui_draw.cpp", |
| 105 | + "lib/imgui/imgui_tables.cpp", |
| 106 | + "lib/imgui/imgui_demo.cpp", |
| 107 | + "lib/imgui/imgui_impl_win32.cpp", |
| 108 | + "lib/imgui/imgui_impl_opengl3.cpp", "-O", "ReleaseSafe" ], |
| 109 | + "detail": "zig run main.zig -O ReleaseSafe", |
| 110 | + "command": "zig", "type": "shell", "options": { "cwd": "${workspaceRoot}" }, "group": { "kind": "none", "isDefault": false }, |
| 111 | + "presentation": { "group": "launch", "echo": true, "reveal": "always", "focus": false, "panel": "shared", "showReuseMessage": false, "clear": true, "close": false }, "problemMatcher": [] |
| 112 | + }, |
| 113 | + { |
| 114 | + "label": "Zig: Run main (Small)", |
| 115 | + "args": [ "run", "-lc++", "-lgdi32", "-ldwmapi", "-lopengl32", "main.zig", |
| 116 | + "lib/imgui/cimgui.cpp", |
| 117 | + "lib/imgui/cimgui_impl_opengl3.cpp", |
| 118 | + "lib/imgui/cimgui_impl_win32.cpp", |
| 119 | + "lib/imgui/imgui.cpp", |
| 120 | + "lib/imgui/imgui_widgets.cpp", |
| 121 | + "lib/imgui/imgui_draw.cpp", |
| 122 | + "lib/imgui/imgui_tables.cpp", |
| 123 | + "lib/imgui/imgui_demo.cpp", |
| 124 | + "lib/imgui/imgui_impl_win32.cpp", |
| 125 | + "lib/imgui/imgui_impl_opengl3.cpp", "-O", "ReleaseSmall" ], |
| 126 | + "detail": "zig run main.zig -O ReleaseSmall", |
| 127 | + "command": "zig", "type": "shell", "options": { "cwd": "${workspaceRoot}" }, "group": { "kind": "none", "isDefault": false }, |
| 128 | + "presentation": { "group": "launch", "echo": true, "reveal": "always", "focus": false, "panel": "shared", "showReuseMessage": false, "clear": true, "close": false }, "problemMatcher": [] |
| 129 | + }, |
| 130 | + { |
| 131 | + "label": "Zig: Run current file", |
| 132 | + "args": [ "run", "${file}" ], |
| 133 | + "detail": "'zig run' active file in the current workspace.", |
| 134 | + "command": "zig", "type": "shell", "options": { "cwd": "${workspaceRoot}" }, "group": { "kind": "none", "isDefault": false }, |
| 135 | + "presentation": { "group": "launch", "echo": true, "reveal": "always", "focus": false, "panel": "shared", "showReuseMessage": false, "clear": true, "close": false }, "problemMatcher": [] |
| 136 | + }, |
| 137 | + { |
| 138 | + "label": "zTime Zig: Run current file", |
| 139 | + "args": [ "zig", "run", "-lc", "${file}" ], |
| 140 | + "detail": "'zTime zig run' active file in the current workspace.", |
| 141 | + "command": "zig", "type": "shell", "options": { "cwd": "${workspaceRoot}" }, "group": { "kind": "none", "isDefault": false }, |
| 142 | + "presentation": { "group": "zTime", "echo": true, "reveal": "always", "focus": false, "panel": "shared", "showReuseMessage": false, "clear": true, "close": false }, "problemMatcher": [] |
| 143 | + }, |
| 144 | + { |
| 145 | + "label": "Zig: Docs", |
| 146 | + "args": [ "run", "-femit-docs", "main.zig" ], |
| 147 | + "detail": "Generate docs from source comments.", |
| 148 | + "command": "zig", "type": "shell", "options": { "cwd": "${workspaceRoot}" }, "group": { "kind": "none", "isDefault": false }, |
| 149 | + "presentation": { "group": "docs", "echo": true, "reveal": "always", "focus": false, "panel": "shared", "showReuseMessage": false, "clear": true, "close": false }, "problemMatcher": [] |
| 150 | + }], |
| 151 | + "version": "2.0.0" |
| 152 | +} |
0 commit comments