Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A good group in IDE project #22

Open
BernardXiong opened this issue May 25, 2024 · 0 comments
Open

A good group in IDE project #22

BernardXiong opened this issue May 25, 2024 · 0 comments

Comments

@BernardXiong
Copy link
Collaborator

在SConscript中,RT-Thread使用了DefineGroup的方式定义了一个组,同时有的时候也可以通过scons来编译生成一份库。

因为group这个词本身就是一个组,或者说是一个软件组件。所以通常上会把一个libc定义成一个组件,所以对于整体mlibc来说,可以把它整体定义成一个组:

DefineGroup('mlibc', src, depend = [...

也就说,从整个工程(Project File)的角度来说,mlibc应该是一个整体,而不应该再拆的很细了。或者说合久必分,分久必合,角度不同,看到的东西应该也不同。整体对外,这份整体就叫 mlibc

@0Bitbiscuits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant