aboutsummaryrefslogtreecommitdiff
path: root/.vscode/tasks.json
diff options
context:
space:
mode:
Diffstat (limited to '.vscode/tasks.json')
-rw-r--r--.vscode/tasks.json37
1 files changed, 26 insertions, 11 deletions
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
index dc6c7aa..51f98dd 100644
--- a/.vscode/tasks.json
+++ b/.vscode/tasks.json
@@ -2,21 +2,36 @@
"version": "2.0.0",
"tasks": [
{
- "label": "install",
+ "label": "conan: install",
"type": "shell",
- "command": "cmake",
+ "command": "conan",
"args": [
- "--build",
- "${workspaceFolder}/build",
- "--target",
"install",
- "--parallel"
+ "-if",
+ "build",
+ "-pr:b=default",
+ "-pr:h=default",
+ "-b",
+ "missing",
+ "."
],
- "group": "build",
- "presentation": {
- "reveal": "silent"
+ },
+ {
+ "label": "conan: build",
+ "type": "shell",
+ "command": "conan",
+ "args": [
+ "build",
+ "-if",
+ "build",
+ "."
+ ],
+ "group": {
+ "kind": "build",
+ "isDefault": true
},
- "problemMatcher": "$gcc"
+ "problemMatcher": "$gcc",
+ "dependsOn": "conan: install"
}
]
-} \ No newline at end of file
+}