Replies: 1 comment 4 replies
-
|
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
DaddyXtof
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.
-
If I am building a Windows application and I have defined two targets (one to be built built with cl and the other with mingw/gcc) and I have a dependency on a package (raylib) then the build for mingw will fail as it tries to link with the raylib library built with cl.
This is my xmake.lua:
In order to make the mingw target work I have to explicitly a add_linkdir pointing to the lib built with the other toolchain.
Am i missing something or is this a limitation of how packages are downloaded and built?
If you have the same package dependency but for two different toolchains how do you distinguish them in the xmake.lua?
Beta Was this translation helpful? Give feedback.
All reactions