Windows: hide console

This commit is contained in:
2022-08-11 13:25:42 +02:00
parent e9a8807621
commit 7f7f027f85

View File

@@ -20,4 +20,8 @@ target("UCT")
add_links("dl")
elseif is_os("windows") then
add_ldflags("-static")
-- Hide console
if is_mode("release") then
add_ldflags("mwindows", {force = true})
end
end