From 794f093057c58c4909a0653edb54fdf869560596 Mon Sep 17 00:00:00 2001 From: Stefan Boberg Date: Wed, 4 Mar 2026 14:00:34 +0100 Subject: native xmake toolchain definition for UE-clang (#805) This change is meant to provide a smoother experience when working on Linux. After this change, the toolchain setup process is now simply ```bash $ scripts/ue_build_linux/get_ue_toolchain.sh ``` and then at config time the toolchain is automatically detected if you downloaded it to the default location or have the `UE_TOOLCHAIN_DIR` environment variable set ```bash xmake config --mode=debug ``` Compared to the old script-based approach this configures the toolchain more precisely, avoiding leakage into unrelated build processes such as when a package manager decides to build something like Ninja locally etc. --- toolchains/xmake.lua | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 toolchains/xmake.lua (limited to 'toolchains/xmake.lua') diff --git a/toolchains/xmake.lua b/toolchains/xmake.lua new file mode 100644 index 000000000..2817a1586 --- /dev/null +++ b/toolchains/xmake.lua @@ -0,0 +1,3 @@ +-- Copyright Epic Games, Inc. All Rights Reserved. + +includes("ue_clang.lua") -- cgit v1.2.3