build(mingw): 添加对mingw平台的支持

添加mingw平台的工具链配置,使其能够在该平台下进行构建
This commit is contained in:
ChestnutYueyue 2026-02-11 16:56:10 +08:00
parent 39a0ab7124
commit db35d8762c
1 changed files with 2 additions and 0 deletions

View File

@ -63,6 +63,8 @@ end
if target_plat == "switch" then
includes("xmake/toolchains/switch.lua")
set_toolchains("switch")
elseif target_plat == "mingw" then
set_toolchains("mingw")
end
-- ==============================================