microsoft / microsoft/vscode-cmake-tools

[Bug] cmake workflow don't use the "targets" in buildpreset which i use in workflowpresets

Open
#4,581 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.