Skip to content

Commit 070ab60

Browse files
committed
Address final review: CMake Tools requirement doc + Windows cmd.exe shell for preset tasks
1 parent 29bfa50 commit 070ab60

1 file changed

Lines changed: 72 additions & 8 deletions

File tree

templates/.vscode/tasks.json

Lines changed: 72 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,15 @@
1212
},
1313
"group": { "kind": "build", "isDefault": true },
1414
"problemMatcher": ["$gcc", "$msCompile"],
15-
"detail": "Default configuration for building the library"
15+
"detail": "Default configuration for building the library Requires the CMake Tools extension (ms-vscode.cmake-tools) — without it, this task fails to start.",
16+
"windows": {
17+
"options": {
18+
"shell": {
19+
"executable": "cmd.exe",
20+
"args": ["/d", "/c"]
21+
}
22+
}
23+
}
1624
},
1725
{
1826
"label": "Configure & Build: Test Configuration",
@@ -25,7 +33,15 @@
2533
},
2634
"group": "build",
2735
"problemMatcher": ["$gcc", "$msCompile"],
28-
"detail": "Configuration for building and running tests"
36+
"detail": "Configuration for building and running tests Requires the CMake Tools extension (ms-vscode.cmake-tools) — without it, this task fails to start.",
37+
"windows": {
38+
"options": {
39+
"shell": {
40+
"executable": "cmd.exe",
41+
"args": ["/d", "/c"]
42+
}
43+
}
44+
}
2945
},
3046
{
3147
"label": "Configure & Build: Documentation Configuration",
@@ -38,7 +54,15 @@
3854
},
3955
"group": "build",
4056
"problemMatcher": ["$gcc", "$msCompile"],
41-
"detail": "Configuration for building documentation"
57+
"detail": "Configuration for building documentation Requires the CMake Tools extension (ms-vscode.cmake-tools) — without it, this task fails to start.",
58+
"windows": {
59+
"options": {
60+
"shell": {
61+
"executable": "cmd.exe",
62+
"args": ["/d", "/c"]
63+
}
64+
}
65+
}
4266
},
4367
{
4468
"label": "Configure & Build: Clang-Tidy Configuration",
@@ -51,7 +75,15 @@
5175
},
5276
"group": "build",
5377
"problemMatcher": ["$gcc", "$msCompile"],
54-
"detail": "Configuration for running clang-tidy static analysis"
78+
"detail": "Configuration for running clang-tidy static analysis Requires the CMake Tools extension (ms-vscode.cmake-tools) — without it, this task fails to start.",
79+
"windows": {
80+
"options": {
81+
"shell": {
82+
"executable": "cmd.exe",
83+
"args": ["/d", "/c"]
84+
}
85+
}
86+
}
5587
},
5688
{
5789
"label": "Configure & Build: Initialize Templates",
@@ -64,7 +96,15 @@
6496
},
6597
"group": "build",
6698
"problemMatcher": ["$gcc", "$msCompile"],
67-
"detail": "Force regeneration of template files (CMakePresets.json, CI, etc.)"
99+
"detail": "Force regeneration of template files (CMakePresets.json, CI, etc.) Requires the CMake Tools extension (ms-vscode.cmake-tools) — without it, this task fails to start.",
100+
"windows": {
101+
"options": {
102+
"shell": {
103+
"executable": "cmd.exe",
104+
"args": ["/d", "/c"]
105+
}
106+
}
107+
}
68108
},
69109
{
70110
"label": "Configure & Build: Install Configuration",
@@ -77,7 +117,15 @@
77117
},
78118
"group": "build",
79119
"problemMatcher": ["$gcc", "$msCompile"],
80-
"detail": "Release build for installation with CPM_USE_LOCAL_PACKAGES enabled for testing installed packages"
120+
"detail": "Release build for installation with CPM_USE_LOCAL_PACKAGES enabled for testing installed packages Requires the CMake Tools extension (ms-vscode.cmake-tools) — without it, this task fails to start.",
121+
"windows": {
122+
"options": {
123+
"shell": {
124+
"executable": "cmd.exe",
125+
"args": ["/d", "/c"]
126+
}
127+
}
128+
}
81129
},
82130
{
83131
"label": "Build & Test: Run All Tests",
@@ -90,7 +138,15 @@
90138
},
91139
"group": { "kind": "test", "isDefault": true },
92140
"problemMatcher": ["$gcc", "$msCompile"],
93-
"detail": "Configuration for building and running tests"
141+
"detail": "Configuration for building and running tests Requires the CMake Tools extension (ms-vscode.cmake-tools) — without it, this task fails to start.",
142+
"windows": {
143+
"options": {
144+
"shell": {
145+
"executable": "cmd.exe",
146+
"args": ["/d", "/c"]
147+
}
148+
}
149+
}
94150
},
95151
{
96152
"label": "Build & Test: Run Tests with Clang-Tidy",
@@ -103,7 +159,15 @@
103159
},
104160
"group": "test",
105161
"problemMatcher": ["$gcc", "$msCompile"],
106-
"detail": "Configuration for running clang-tidy static analysis"
162+
"detail": "Configuration for running clang-tidy static analysis Requires the CMake Tools extension (ms-vscode.cmake-tools) — without it, this task fails to start.",
163+
"windows": {
164+
"options": {
165+
"shell": {
166+
"executable": "cmd.exe",
167+
"args": ["/d", "/c"]
168+
}
169+
}
170+
}
107171
},
108172
{
109173
"label": "Clean Build Directory (Active Config)",

0 commit comments

Comments
 (0)