From f842c84b72a5fac063ec06b109345b1d619bd451 Mon Sep 17 00:00:00 2001 From: SirLynix Date: Sun, 20 Oct 2024 01:12:44 +0200 Subject: [PATCH] Fix missing scripts on install --- xmake.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/xmake.lua b/xmake.lua index f8fb3f0..d802901 100644 --- a/xmake.lua +++ b/xmake.lua @@ -77,6 +77,7 @@ target("CommonLib", function () add_headerfiles("include/(CommonLib/**.hpp)", "include/(CommonLib/**.inl)") add_headerfiles("src/CommonLib/**.hpp", "src/CommonLib/**.inl", { install = false }) add_files("src/CommonLib/**.cpp") + add_installfiles("(scripts/**.lua)", { prefixdir = "bin" }) after_load(function (target) target:set("kind", target:dep("commonlib_static") and "static" or "shared")