Install private header files to a private folder

until xmake supports https://github.com/xmake-io/xmake/issues/2577
This commit is contained in:
SirLynix
2022-07-18 08:47:57 +02:00
parent 8f4c828d0c
commit e63bb072da
4 changed files with 4 additions and 6 deletions

View File

@@ -257,7 +257,7 @@ for name, module in pairs(modules) do
local headerExts = {".h", ".hpp", ".inl", ".natvis"}
for _, ext in ipairs(headerExts) do
add_headerfiles("include/(Nazara/" .. name .. "/**" .. ext .. ")")
add_headerfiles("src/Nazara/" .. name .. "/**" .. ext)
add_headerfiles("src/Nazara/" .. name .. "/**" .. ext, { prefixdir = "private" })
end
remove_headerfiles("src/Nazara/" .. name .. "/Resources/**.h")