Replies: 2 comments 3 replies
-
以及这种情况是不是还需要add_rpathdirs?不管是add_rpathdirs还是拷贝dll,都需要获取到conan依赖的路径,似乎xmake只在conan依赖的bin目录里面找平铺的dll |
Beta Was this translation helpful? Give feedback.
0 replies
-
不懂你要干嘛,按正常包集成方式,集成下 conan 包不就好了么。。add_requires+add_packages |
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.
-
我在xmake.lua中声明了一个依赖,它安装之后的布局是这样的:
如果我只使用add_packages是无法自动链接的,我可以手动add_links("Release/A")或者add_packages("lib", {links = "Release/A"})。有什么办法可以在这种布局下自动链接吗,或者让我根据包名获取conan依赖的位置然后手动做字符串操作?MSVC默认编译出来的布局应该就是这样的。
Beta Was this translation helpful? Give feedback.
All reactions