xmake-io / xmake

🔥 A cross-platform build utility based on Lua
https://xmake.io
Apache License 2.0
10.14k stars 782 forks source link

set_values(a, b, c) will set_default(a) by default #5605

Closed Freed-Wu closed 2 months ago

Freed-Wu commented 2 months ago

你在什么场景下需要该功能?

Like meson, set_values(a, b, c) will set_default 1st value as default.

描述可能的解决方案

/

描述你认为的候选方案

No response

其他信息

No response

waruqi commented 2 months ago

you can call set_default to set a

Freed-Wu commented 2 months ago

I found by default it will set_default(nil), not sure the behaviour is better...