From e9553bf69a6fe2a4f25c87535ab5024639275aa6 Mon Sep 17 00:00:00 2001 From: Darcy Shen Date: Wed, 25 Oct 2023 00:31:03 +0800 Subject: [PATCH] [48_11] set_optimize to fastest for Mogan Draw --- xmake/draw.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmake/draw.lua b/xmake/draw.lua index 39950591bb..2a889bb8fa 100644 --- a/xmake/draw.lua +++ b/xmake/draw.lua @@ -72,7 +72,7 @@ function add_target_draw() add_files("src/Mogan/Draw/draw.cpp") if is_plat("wasm") then - set_optimize("none") + set_optimize("fastest") -- see https://doc.qt.io/qt-6/wasm.html#asyncify add_ldflags("-sASYNCIFY") add_ldflags("-s --preload-file $(projectdir)/TeXmacs/fonts@TeXmacs/fonts", {force = true})