aboutsummaryrefslogtreecommitdiff
path: root/.vscode/tasks.json
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2023-08-17 12:32:50 +0200
committerFelix Morgner <felix.morgner@gmail.com>2023-08-17 12:32:50 +0200
commit375799fa79d1af76f33299acc20a11a167a021f8 (patch)
tree8f91b982ec96225c33a2f4871730ababffe5cab0 /.vscode/tasks.json
parentaf471b9b780869915d3217b228e24d025892de47 (diff)
downloadwanda-375799fa79d1af76f33299acc20a11a167a021f8.tar.xz
wanda-375799fa79d1af76f33299acc20a11a167a021f8.zip
project: restructure libraries and build env
Diffstat (limited to '.vscode/tasks.json')
-rw-r--r--.vscode/tasks.json33
1 files changed, 21 insertions, 12 deletions
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
index 51f98dd..4a14488 100644
--- a/.vscode/tasks.json
+++ b/.vscode/tasks.json
@@ -7,14 +7,10 @@
"command": "conan",
"args": [
"install",
- "-if",
- "build",
- "-pr:b=default",
- "-pr:h=default",
- "-b",
- "missing",
- "."
- ],
+ "--build=missing",
+ "--settings:host=build_type=${input:buildType}",
+ "${workspaceFolder}/conanfile.py"
+ ]
},
{
"label": "conan: build",
@@ -22,16 +18,29 @@
"command": "conan",
"args": [
"build",
- "-if",
- "build",
- "."
+ "--build=missing",
+ "--settings:host=build_type=${input:buildType}",
+ "${workspaceFolder}/conanfile.py"
],
"group": {
"kind": "build",
"isDefault": true
},
- "problemMatcher": "$gcc",
"dependsOn": "conan: install"
}
+ ],
+ "inputs": [
+ {
+ "id": "buildType",
+ "type": "pickString",
+ "options": [
+ "Debug",
+ "Release",
+ "RelWithDebInfo",
+ "MinSizeRel"
+ ],
+ "description": "The desired build type.",
+ "default": "Debug"
+ }
]
}