53 lines
1.4 KiB
JSON
53 lines
1.4 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "CMake: configure debug",
|
|
"type": "shell",
|
|
"command": "cmake",
|
|
"args": ["--preset", "debug"],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "CMake: build debug",
|
|
"type": "shell",
|
|
"command": "cmake",
|
|
"args": ["--build", "--preset", "debug"],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"problemMatcher": "$gcc",
|
|
"dependsOn": "CMake: configure debug"
|
|
},
|
|
{
|
|
"label": "CMake: configure release",
|
|
"type": "shell",
|
|
"command": "cmake",
|
|
"args": ["--preset", "release"],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "CMake: build release",
|
|
"type": "shell",
|
|
"command": "cmake",
|
|
"args": ["--build", "--preset", "release"],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"group": "build",
|
|
"problemMatcher": "$gcc",
|
|
"dependsOn": "CMake: configure release"
|
|
}
|
|
]
|
|
}
|