skywind3000 / skywind3000/emake

c文件依赖的头文件搜索问题

Open
#10 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
909
Forks
122
PR merge metrics
No merged PRs in 30d

Description

你好,我发现你这边的设计可能存在缺陷,比如:当我的编译选项中添加了头文件引用的目录inc: dir
1,dir2。 当我改了里面的头文件的内容应该是不支持 增量编译的,无法触发 依赖这些头文件的。
因为我分析了你的代码,貌似只支持 搜索到与c文件同一目录下的头文件 依赖关系

Contributor guide

No contributing guide indexed for this repository

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

No files, tests, or entry points are named. Reproduce the case with include directories dir1 and dir2, change a header there, and inspect how C header dependencies are discovered for incremental builds. Done means a changed header in a configured include directory rebuilds the dependent C files.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, python
Domain
build-system, tooling
Issue type
Bug
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.