ruki

Results 1749 comments of ruki

目前 win 上 nim toolchain 是跟 msvc envs 绑定的,暂不支持切换其他工具链。 https://github.com/xmake-io/xmake/blob/84f20e464e3438603d0b35d4ab528c4924faee66/xmake/toolchains/nim/xmake.lua#L59

The package kind is not equal to target kind, because package is not equal to target. No static kind for package, package can support static/shared libraries at same time. You...

xmake has hundreds of interfaces, thousands of interface parameters, and tens of thousands of parameter values. I don't have time to fully test each interface. Currently, some API parameter detection...

you can check it here. https://github.com/xmake-io/xmake/blob/7dabd19751248074ccfaf470e9b7eb5f1a57ca9b/xmake/modules/private/action/require/impl/package.lua#L1130 like this https://github.com/xmake-io/xmake/blob/dev/xmake/actions/build/check.lua

we can use new apis to override and merge them. However, it will be very complicated to implement and cannot be supported in a short time. ```lua set_extraconfs("files", "src/*.cc", {foo...

why not use `target:data("shader.compiler.output")`, `target:data_set("shader.compiler.output", "xxx")` to pass them between rules/targets? https://github.com/xmake-io/xmake/blob/7c08a859433be31e67aa4ef4a7968060a1e57ca5/xmake/rules/wdk/mof/xmake.lua#L79 and set_values/add_values/target:values/target:values_set can also do these in user configuraion side.

It should exists if LUA_COMPAT_5_3 is defined. https://github.com/xmake-io/xmake/blob/3dd5c00c62dcd51ded121a9a0bdb524739fd0bec/core/xmake.sh#L86 ```lua #if defined(LUA_COMPAT_5_3) /* { */ #define lua_objlen(L,i) lua_rawlen(L, (i))

给个最小可复现的完整例子,或者自己对比 -vD 的编译 Flags,用排除法,一点点删配置定位下。

you can pass conan settings in add_requires. https://xmake.io/guide/package-management/using-third-party-packages.html#using-conan-dependency-package ```lua add_requires("conan::poco/1.10.0", {alias = "poco", configs = {settings = {"compiler.toolset=v141_xp"}}}) ```