summaryrefslogtreecommitdiffstats
path: root/.vscode/tasks.json
diff options
context:
space:
mode:
authorAndrew Udvare <audvare@gmail.com>2020-10-09 05:14:37 +0200
committerAndrew Udvare <audvare@gmail.com>2020-10-09 05:14:37 +0200
commit324f84750bbe58fb0d8b05da07bce78a7d88b08d (patch)
tree234c23056fa1b749a913d7242a9810190cf20d7a /.vscode/tasks.json
parentVS Code settings for code and debugging (Linux x64 only) (diff)
downloadre3-324f84750bbe58fb0d8b05da07bce78a7d88b08d.tar
re3-324f84750bbe58fb0d8b05da07bce78a7d88b08d.tar.gz
re3-324f84750bbe58fb0d8b05da07bce78a7d88b08d.tar.bz2
re3-324f84750bbe58fb0d8b05da07bce78a7d88b08d.tar.lz
re3-324f84750bbe58fb0d8b05da07bce78a7d88b08d.tar.xz
re3-324f84750bbe58fb0d8b05da07bce78a7d88b08d.tar.zst
re3-324f84750bbe58fb0d8b05da07bce78a7d88b08d.zip
Diffstat (limited to '')
-rw-r--r--.vscode/tasks.json31
1 files changed, 21 insertions, 10 deletions
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
index 475c805e..c4fdc285 100644
--- a/.vscode/tasks.json
+++ b/.vscode/tasks.json
@@ -1,12 +1,4 @@
{
- "inputs": [
- {
- "default": "5",
- "description": "Number of jobs to run simultaneously when compiling",
- "id": "numberOfJobs",
- "type": "promptString"
- }
- ],
"tasks": [
{
"args": ["--with-librw", "gmake2"],
@@ -17,7 +9,7 @@
},
{
"args": [
- "-j${input:numberOfJobs}",
+ "-j5",
"config=debug_linux-amd64-librw_gl3_glfw-oal",
"verbose=1"
],
@@ -27,7 +19,26 @@
"isDefault": true,
"kind": "build"
},
- "label": "Compile (Linux x64)",
+ "label": "Compile (Debug Linux x64)",
+ "options": {
+ "cwd": "${workspaceFolder}/build"
+ },
+ "problemMatcher": "$gcc",
+ "type": "shell"
+ },
+ {
+ "args": [
+ "-j5",
+ "config=release_linux-amd64-librw_gl3_glfw-oal",
+ "verbose=1"
+ ],
+ "command": "make",
+ "dependsOn": "Premake (Linux)",
+ "group": {
+ "isDefault": true,
+ "kind": "build"
+ },
+ "label": "Compile (Release Linux x64)",
"options": {
"cwd": "${workspaceFolder}/build"
},