xmake-io / xmake-vscode

🍩 A XMake integration in Visual Studio Code
https://xmake.io
Apache License 2.0
223 stars 55 forks source link

Fixed targetName == "all" never matched #224

Closed vosaica closed 9 months ago

vosaica commented 9 months ago

问题:在Status bar选择All Targets后Build按钮无法构建全部Targets

image

原因:在onBuild函数中targetName == "all"时会匹配到第一个分支,把all当作项目名称了,"-a"选项也就没被添加

waruqi commented 9 months ago

thanks