Skip to content

Commit

Permalink
add sequence for build in tasks.json
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyLadanov committed Aug 9, 2024
1 parent ce071f5 commit ce075e9
Showing 1 changed file with 22 additions and 10 deletions.
32 changes: 22 additions & 10 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,18 @@
"tasks": [
{
"type": "shell",
"label": "C/C++: Build",
"label": "Cmake: Generate build files",
"command": "cmake",
"args": [
"--preset",
"${command:cmake.activeBuildPresetName}"
],
"problemMatcher": [],
"detail": "Компилятор: \"g++.exe\""
},
{
"type": "shell",
"label": "Cmake: Build",
"command": "cmake",
"args": [
"--build",
Expand All @@ -16,20 +27,21 @@
],
"group": {
"kind": "build",
"isDefault": true
"isDefault": false
},
"detail": "Компилятор: \"g++.exe\""
},
{
"type": "shell",
"label": "Cmake: Generate build files",
"command": "cmake",
"args": [
"--preset",
"${command:cmake.activeBuildPresetName}"
"label": "C/C++: Build",
"dependsOrder": "sequence",
"dependsOn": [
"Cmake: Generate build files",
"Cmake: Build",
],
"problemMatcher": [],
"detail": "Компилятор: \"g++.exe\""
"group": {
"kind": "build",
"isDefault": true
},
},

{
Expand Down

0 comments on commit ce075e9

Please sign in to comment.