From 561541b10f03895b21eb31d5dca6ce17f6f6c825 Mon Sep 17 00:00:00 2001 From: Tibo De Peuter Date: Thu, 5 Dec 2024 22:07:22 +0100 Subject: [PATCH] chore: Add VSCode tasks config --- .vscode/tasks.json | 73 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 .vscode/tasks.json diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..ea19d21 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,73 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "setup", + "type": "shell", + "command": "cmake -S . -B build -D GLFW_BUILD_WAYLAND=OFF -D GLFW_BUILD_X11=ON" + }, + { + "label": "build", + "type": "shell", + "command": "make -C build", + "problemMatcher": [], + "group": { + "kind": "build", + "isDefault": true + }, + "dependsOn": [ + "setup" + ] + }, + { + "label": "Task 0: Check if OpenGL works", + "type": "shell", + "command": "./build/shaderpipeline 0", + "problemMatcher": [] + }, + { + "label": "Task 1: basic model, view, projection", + "type": "shell", + "command": "./build/shaderpipeline 1", + "problemMatcher": [] + }, + { + "label": "Task 2: subdivide the mesh", + "type": "shell", + "command": "./build/shaderpipeline 2", + "problemMatcher": [] + }, + { + "label": "Task 3: make the mesh round", + "type": "shell", + "command": "./build/shaderpipeline 3", + "problemMatcher": [] + }, + { + "label": "Task 4: light", + "type": "shell", + "command": "./build/shaderpipeline 4", + "problemMatcher": [] + }, + { + "label": "Task 5: procedural color", + "type": "shell", + "command": "./build/shaderpipeline 5", + "problemMatcher": [] + }, + { + "label": "Task 6: procedural bump", + "type": "shell", + "command": "./build/shaderpipeline 6", + "problemMatcher": [] + }, + { + "label": "Task 7: get creative", + "type": "shell", + "command": "./build/shaderpipeline 7", + "problemMatcher": [] + } + ] +} \ No newline at end of file