From 397ba8a7a15ca6e809349acfce2f80854e6642d7 Mon Sep 17 00:00:00 2001 From: taynpg Date: Tue, 21 Jan 2025 16:40:10 +0800 Subject: [PATCH] =?UTF-8?q?compile=EF=BC=9A=E4=BF=AE=E6=AD=A3xmake?= =?UTF-8?q?=E7=BC=96=E8=AF=91=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xmake.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/xmake.lua b/xmake.lua index f84b8b6..d725d28 100644 --- a/xmake.lua +++ b/xmake.lua @@ -6,6 +6,7 @@ end if is_plat("mingw") then add_cxxflags("-Wno-unused-variable -finput-charset=utf-8 -fexec-charset=gbk") end +add_defines("FMT_HEADER_ONLY") add_includedirs("$(projectdir)/3rd", {public = true}) add_includedirs("$(projectdir)/build", {public = true}) includes("util", "ofen", "net", "server", "client", "filecomplete")