From 554fd6395ac00c68008dc8622351d42bd253780e Mon Sep 17 00:00:00 2001 From: Ghabry Date: Thu, 26 Feb 2026 15:36:08 +0100 Subject: [PATCH] Windows: Shorten the triplet name because the Linker hits MAX_PATH limits when linking Kirigami The Kirigami path becomes around 200 characters. Every character counts! --- windows/build_editor.cmd | 2 +- windows/helper/prepare.cmd | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/windows/build_editor.cmd b/windows/build_editor.cmd index 20241ca5..1667f152 100644 --- a/windows/build_editor.cmd +++ b/windows/build_editor.cmd @@ -3,7 +3,7 @@ call helper\prepare.cmd :: Build 64-bit libraries -vcpkg install --triplet x64-windows-static-easyrpgeditor --recurse^ +vcpkg install --triplet x64-windows-eze --recurse^ zlib[core] expat[core] inih[cpp] nlohmann-json[core] glaze[core] :: Other dependencies such as Kirigami are built via vcpkg.json and a custom diff --git a/windows/helper/prepare.cmd b/windows/helper/prepare.cmd index 9087d14f..501ed7d8 100644 --- a/windows/helper/prepare.cmd +++ b/windows/helper/prepare.cmd @@ -20,6 +20,8 @@ copy ..\helper\windows.cmake scripts\toolchains\windows.cmake :: add custom editor triplet copy ..\helper\x64-windows-static-easyrpgeditor.cmake triplets\x64-windows-static-easyrpgeditor.cmake +:: shorter version until MAX_PATH limits in the MSVC Linker are fixed (Kirigami paths are extremely long) +copy ..\helper\x64-windows-static-easyrpgeditor.cmake triplets\x64-windows-eze.cmake :: Copy custom portfiles :: ICU static data file