summaryrefslogtreecommitdiffstats
path: root/.vscode/tasks.json
diff options
context:
space:
mode:
Diffstat (limited to '.vscode/tasks.json')
-rw-r--r--.vscode/tasks.json39
1 files changed, 39 insertions, 0 deletions
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
new file mode 100644
index 00000000..475c805e
--- /dev/null
+++ b/.vscode/tasks.json
@@ -0,0 +1,39 @@
+{
+ "inputs": [
+ {
+ "default": "5",
+ "description": "Number of jobs to run simultaneously when compiling",
+ "id": "numberOfJobs",
+ "type": "promptString"
+ }
+ ],
+ "tasks": [
+ {
+ "args": ["--with-librw", "gmake2"],
+ "command": "./premake5Linux",
+ "label": "Premake (Linux)",
+ "problemMatcher": "$gcc",
+ "type": "shell"
+ },
+ {
+ "args": [
+ "-j${input:numberOfJobs}",
+ "config=debug_linux-amd64-librw_gl3_glfw-oal",
+ "verbose=1"
+ ],
+ "command": "make",
+ "dependsOn": "Premake (Linux)",
+ "group": {
+ "isDefault": true,
+ "kind": "build"
+ },
+ "label": "Compile (Linux x64)",
+ "options": {
+ "cwd": "${workspaceFolder}/build"
+ },
+ "problemMatcher": "$gcc",
+ "type": "shell"
+ }
+ ],
+ "version": "2.0.0"
+}