1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
{
"version": "2.0.0",
"tasks": [
{
"label": "conan: install",
"type": "shell",
"command": "conan",
"args": [
"install",
"--build=missing",
"--settings:host=build_type=${input:buildType}",
"${workspaceFolder}/conanfile.py"
]
},
{
"label": "conan: build",
"type": "shell",
"command": "conan",
"args": [
"build",
"--build=missing",
"--settings:host=build_type=${input:buildType}",
"${workspaceFolder}/conanfile.py"
],
"group": {
"kind": "build",
"isDefault": true
},
"dependsOn": "conan: install"
}
],
"inputs": [
{
"id": "buildType",
"type": "pickString",
"options": [
"Debug",
"Release",
"RelWithDebInfo",
"MinSizeRel"
],
"description": "The desired build type.",
"default": "Debug"
}
]
}
|