RT-Thread/rt-thread

[Feature] 规范CPPPATH的使用

Open

#10,980 opened on 2025年11月26日

GitHub で見る
 (0 comments) (3 reactions) (0 assignees)C (4,755 forks)batch import
good first issue

Repository metrics

Stars
 (9,223 stars)
PR merge metrics
 (平均マージ 7d 22h) (30d で 50 merged PRs)

説明

Describe problem solved by the proposed feature

很多组件或者模块都将自身所在路径通过SConscript添加到了CPPPATH中,然后在编译时将这些路径都包含进来了,非常容易污染路径,不光软件包有这些问题,内核组件也是这样,项目大起来之后,非常容易冲突,目前已有的组件或者模块很难动了,先保证老代码兼容性,但是如果后续还有需要新增的组件,建议好好考虑怎么组织一下,不要再污染路径了。

Describe your preferred solution

No response

Describe possible alternatives

No response

コントリビューターガイド