From 32d30c7f446bfc50e1bfff2ee93669512a27c435 Mon Sep 17 00:00:00 2001 From: Persson-dev Date: Sun, 2 Mar 2025 17:52:37 +0100 Subject: [PATCH] fix includes --- xmake.lua | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/xmake.lua b/xmake.lua index 1241360..1785976 100644 --- a/xmake.lua +++ b/xmake.lua @@ -71,11 +71,8 @@ target("SimpleProtocol") add_files("src/sp/**.cpp") set_group("Library") set_kind("$(kind)") - - local includeFolders = {"common", "default", "io", "protocol"} - for _, folder in ipairs(includeFolders) do - add_headerfiles("include/(sp/" .. folder .. "/**.h)") - end + + add_headerfiles("include/(sp/**.h)", "include/(sp/**.inl)") -- adding extensions for name, module in table.orderpairs(modules) do @@ -86,6 +83,7 @@ target("SimpleProtocol") -- we don't want extensions remove_files("src/sp/extensions/**.cpp") + remove_headerfiles("include/(sp/extension/**.h)") -- we need this for endian functions if is_os("windows") then