microsoft / microsoft/vscode-cmake-tools

Automatically select the current launch target as build target

Open
#2,625 6 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement Feature: build help wanted
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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.