microsoft / microsoft/vscode-cmake-tools
Unable to build multiple targets
- Dominant language
- TypeScript
- Stars
- 1.7k
- Forks
- 546
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 32
Description
### Brief Issue Summary
I often want to build multiple targets, but it does not seem possible to select more than one.
Selecting `all` might take too much time, so the alternative is to build first one target, then the second one, ... which is not ideal for two reason.
The first is that the developer has to wait until one build job finishes, and then start the next one.
The second one, is that on a sufficiently powerful machine, two or more targets can be build in parallel, while triggering them one by one this nevers happens.
One could create dummy targets that build exactly the targets one is interested in, but it is not a very practical solution.
### CMake Tools Diagnostics
_No response_
### Debug Log
_No response_
### Additional Information
_No response_
Contributor guide
Research direction
No files, tests, or entry points are named. Start by tracing how CMake Tools discovers and selects build targets, then determine how a multi-target request could avoid the special `all` target and run selected targets in parallel. Done means users can select multiple targets and trigger one build operation for them without creating dummy targets.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, typescript
- Domain
- build-system, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100