build(mingw): 添加对mingw平台的支持
添加mingw平台的工具链配置,使其能够在该平台下进行构建
This commit is contained in:
parent
39a0ab7124
commit
db35d8762c
|
|
@ -63,6 +63,8 @@ end
|
||||||
if target_plat == "switch" then
|
if target_plat == "switch" then
|
||||||
includes("xmake/toolchains/switch.lua")
|
includes("xmake/toolchains/switch.lua")
|
||||||
set_toolchains("switch")
|
set_toolchains("switch")
|
||||||
|
elseif target_plat == "mingw" then
|
||||||
|
set_toolchains("mingw")
|
||||||
end
|
end
|
||||||
|
|
||||||
-- ==============================================
|
-- ==============================================
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue