microsoft / microsoft/vscode-cmake-tools
Fetch CMAKE variables from CMakePresets.json and CMakeLists.txt
- Dominant language
- TypeScript
- Stars
- 1.7k
- Forks
- 546
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 32
Description
### Brief Issue Summary
Are there any ways to fetch variables or options from CMAKE via command substitution, e.g. library path provided by package managers in toolchain file and presets? It's helpful in `launch.json` file.
### CMake Tools Diagnostics
```shell
```
### Debug Log
```shell
```
### Additional Information
_No response_
Contributor guide
Research direction
Start by reviewing how CMakePresets.json, CMakeLists.txt, and toolchain files expose variables or options for use in launch.json. Clarify the supported command-substitution behavior and define completion as reliably making the requested CMake values available in launch.json; the issue provides no diagnostics or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, vscode
- Domain
- build-system, developer-experience
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100