microsoft / microsoft/vscode-cmake-tools
feature: Update cmake when add new .cpp file
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
when I add a new .cpp file and build, there will be a link error.
Because compiler haven't compile the new file except I trigger the camke update once.
I guess it is good that update cmake files when new .cpp file added.
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
The issue names no files or tests. Start by reproducing the link error after adding a .cpp file without manually triggering a CMake update, then trace the CMake configuration and update entry points. Done means a newly added source file is compiled without requiring a manual CMake refresh, with regression coverage if the existing test structure supports it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, cpp, 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