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")