diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2023-08-17 12:32:50 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2023-08-17 12:32:50 +0200 |
| commit | 375799fa79d1af76f33299acc20a11a167a021f8 (patch) | |
| tree | 8f91b982ec96225c33a2f4871730ababffe5cab0 /.vscode/tasks.json | |
| parent | af471b9b780869915d3217b228e24d025892de47 (diff) | |
| download | wanda-375799fa79d1af76f33299acc20a11a167a021f8.tar.xz wanda-375799fa79d1af76f33299acc20a11a167a021f8.zip | |
project: restructure libraries and build env
Diffstat (limited to '.vscode/tasks.json')
| -rw-r--r-- | .vscode/tasks.json | 33 |
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" + } ] } |
