ruki
ruki
try this patch. https://github.com/xmake-io/xmake/pull/5579
> make[1]: /bin/sh: No such file or directory (win32 error 3) maybe cmake does not support cosmocc, it's a cmake issue or you can try call it on msys2.
duplicate https://github.com/xmake-io/xmake/issues/6010#issuecomment-2592958530
we can attempt to add `add_configs("cmake"` and set it to true (default) + warning first. if it will be broken, we can set it(false) to fallback to b2.
那它搞两个 image 干嘛,不知道后面它会切到 msvc 2026 么
你可以调下这里 https://github.com/xmake-io/xmake/blob/d4205f6eca2257d69db51089341490e369552180/xmake/toolchains/clang/load.lua#L73C15-L82 看下对应 INCLUDES 里,有没有 iostream 对应的路径
这边没 linux gui 环境调试,这种你自己调下。然后提 pr 过来改进包。
Does it ready now?
you can open a pr to add it in xmake-repo first.
Adding the package is just the first step. xmake now allows for fully custom toolchains in user projects without requiring built-in xmake support. you can refer - https://github.com/xmake-io/xmake/tree/dev/tests/apis/custom_toolchain - https://xmake.io/guide/project-configuration/toolchain-configuration.html#custom-toolchains...