Replies: 1 comment 3 replies
-
这种只能走 option + add_deps 控制下检测顺序,等待对应选项检测完,在当前 option的 after_check里面去 if opt:dep("xxz"):enabled() 判处理 因为option检测默认也是并行的 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
https://github.com/xmake-io/xmake-repo/blob/master/packages/l/libintl/port/xmake.lua#L254
这里本来的逻辑是根据前面的HAVE_XLOCALE_H的结果来判断添加includes;但这里用
has_config("__HAVE_XLOCALE_H") and "xlocale.h" or "locale.h"
不起作用,所以只能用is_plat("macosx")
来判断了。怎样实现根据前面check的结果来选择性的添加include?Beta Was this translation helpful? Give feedback.
All reactions