{ "version": "2.0.0", "tasks": [ { "label": "configure_debug", "type": "shell", "command": "cmake -B ${workspaceFolder}/build -S ${workspaceFolder} -DCMAKE_BUILD_TYPE=Debug", "group": "build", "presentation": { "reveal": "silent", "panel": "shared" }, "problemMatcher": [] }, { "label": "build_debug", "type": "shell", "command": "cmake --build ${workspaceFolder}/build --config Debug", "group": { "kind": "build", "isDefault": true }, "dependsOn": "configure_debug", "presentation": { "reveal": "always", "panel": "shared" }, "problemMatcher": [ "$gcc" // Or "$msCompile" for MSVC ] }, { "label": "configure_release", "type": "shell", "command": "cmake -B ${workspaceFolder}/build -S ${workspaceFolder} -DCMAKE_BUILD_TYPE=Release", "group": "build", "presentation": { "reveal": "silent", "panel": "shared" }, "problemMatcher": [] }, { "label": "build_release", "type": "shell", "command": "cmake --build ${workspaceFolder}/build --config Release", "group": "build", "dependsOn": "configure_release", "presentation": { "reveal": "always", "panel": "shared" }, "problemMatcher": [ "$gcc" ] } ] }