Replies: 3 comments
-
Title: Why introducing dependency packages involves two interfaces |
Beta Was this translation helpful? Give feedback.
-
不重复,功能不同。。
它类似于 cargo.toml 的配置
这个类似于 add_links/add_includedirs/add_frameworks/add_ldflags 的集合 完全不一样的东西,你要合并成一个接口,很多特性就要受到限制,并且每个 target 都要完整配置一长串的 包配置 ,很繁琐。。 |
Beta Was this translation helpful? Give feedback.
-
No duplication, different functions. .
It is similar to the configuration of cargo.toml
This is a collection similar to add_links/add_includedirs/add_frameworks/add_ldflags Completely different things. If you want to merge them into one interface, many features will be restricted, and each target must be fully configured with a long list of package configurations, which is very cumbersome. . |
Beta Was this translation helpful? Give feedback.
-
Is your feature request related to a problem? Please describe.
引入一个依赖包需要先使用
add_require()
,然后再使用add_package()
,语义上有点重复。Describe the solution you'd like
取消最开始的
add_require()
,只在每个target下使用add_package()
Describe alternatives you've considered
No response
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions