From 5434e3e707c33b6fbd0f3d58b296c3232bba4847 Mon Sep 17 00:00:00 2001 From: Mole Shang <135e2@135e2.dev> Date: Sun, 6 Aug 2023 13:30:44 +0800 Subject: xmake: use llvm-win32 on windows builds --- xmake.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'xmake.lua') diff --git a/xmake.lua b/xmake.lua index f4e0b8f..5d9da51 100644 --- a/xmake.lua +++ b/xmake.lua @@ -9,6 +9,11 @@ if is_plat("linux") then set_toolchains("clang") end +if is_plat("windows") then + set_arch("x86") + set_toolchains("llvm") +end + target("hinata") set_kind("binary") add_files("src/*.c") -- cgit v1.2.3