Replies: 2 comments
-
local vs = import("core.tool.toolchain").load("msvc"):config("vs")
add_requires("cuda", {system=true, configs={utils={"cublas", "cufft", ...}}})
目前不能,一个package的库是固定的,后续改进见 #1452
xmake有描述域和脚本域的概念,on_config/on_load/before_build等函数里面才是脚本逻辑,写在外面的都是描述文件,默认并发执行,并且会多次解释,所以不要把print写在函数外面的描述域 |
Beta Was this translation helpful? Give feedback.
0 replies
-
其他的上面都说的很清楚了。
看下文档,有详细描述 https://xmake.io/#/zh-cn/guide/syntax_description?id=%e9%85%8d%e7%bd%ae%e5%88%86%e7%a6%bb |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the problem details
Please describe your problem details here.
Beta Was this translation helpful? Give feedback.
All reactions