microsoft / microsoft/vscode-cmake-tools
Add variable substitution for the active Kit's compiler
Open
enhancement
Feature: build
Feature: debug/launch
help wanted
stale-exempt
- Dominant language
- TypeScript
- Stars
- 1.7k
- Forks
- 546
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 32
Description
How can I get the current `buildKit.compiler` of `C` or `CXX` properties in `tasks.json` or `launch.json` ?
Using `${command:cmake.buildKit}` I've got just the **name**, right ?
_Originally posted by @mfdeveloper in https://github.com/microsoft/vscode-cmake-tools/issues/334#issuecomment-673438019_
Contributor guide
Research direction
Start by tracing the `${command:cmake.buildKit}` command and the variable-substitution paths used by tasks.json and launch.json. Determine how the active Kit's C and CXX compiler values are exposed, then verify that both configurations can resolve those values rather than only the Kit name.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, typescript, vscode
- Domain
- build-system, developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100