microsoft / microsoft/vscode-cmake-tools
[Bug] cmake workflow don't use the "targets" in buildpreset which i use in workflowpresets
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.7k
- Forks
- 546
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 32
Description
Brief Issue Summary
I use workflow to configure then build,i set the "targets" in the buildpreset,but plugin use target in sidebar i selected,i think it's not reasonaable,it should use the targets i set in the CMakePresets.json file.Or is this something you intentionally did?
CMake Tools Diagnostics
*
Debug Log
*
Additional Information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the workflow configure-and-build case using a CMakePresets.json file with build preset targets and a different sidebar target selection. Trace the CMake Tools handling of workflow and build presets; done means the workflow uses the targets declared in the build preset rather than the sidebar selection.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, typescript
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100