microsoft / microsoft/vscode-cmake-tools
Automatically select the current launch target as build target
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 usually select the same target for building and launching.
Qt Creator has a nice feature for this. It has a special entry in the list of build targets that represents the currently selected launch target. This way you can simply switch the launch target and the build target adapts automatically. You can see the relevant UI in the Qt Creator settings here: https://doc.qt.io/qtcreator/creator-build-settings.html#build-steps
CMake Tools Diagnostics
No response
Debug Log
No response
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
No implementation files or tests are named. Start by tracing how CMake Tools stores the selected launch target and build target, then compare the requested behavior with the linked Qt Creator reference. Done means changing the launch target automatically selects the corresponding build target without requiring a separate manual choice.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, typescript, vscode
- Domain
- build-system, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100