microsoft / microsoft/vscode-cmake-tools

feature: Update cmake when add new .cpp file

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

Nobody has claimed this yet.

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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.