{ "version": "2.0.0", "tasks": [ { "label": "conan: install", "type": "shell", "command": "conan", "args": [ "install", "--build=missing", "--profile:host=${workspaceFolder}/.conan2/profiles/default", "--settings:host=build_type=${input:buildType}", "${workspaceFolder}/conanfile.py" ] }, { "label": "conan: build", "type": "shell", "command": "conan", "args": [ "build", "--build=missing", "--profile:host=${workspaceFolder}/.conan2/profiles/default", "--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" } ] }