Add generic IO #3

Merged
Persson-dev merged 7 commits from io into main 2025-02-26 09:29:32 +00:00
Showing only changes of commit b77c650fdf - Show all commits

View File

@@ -47,9 +47,16 @@ end
target("SimpleProtocolLib") target("SimpleProtocolLib")
add_includedirs("include") add_includedirs("include")
add_headerfiles("include/(sp/common/**.h)", "include/(sp/common/**.h)", "include/(sp/common/**.h)") add_files("src/sp/**.cpp")
local includeFolders = {"common", "default", "io", "protocol"}
for _, folder in ipairs(includeFolders) do
add_headerfiles("include/(sp/" .. folder .. "/**.h)")
end
-- we don't want extensions
remove_files("src/sp/extensions/**.cpp")
set_group("Library") set_group("Library")
add_files("src/sp/common/*.cpp")
set_kind("$(kind)") set_kind("$(kind)")
-- Tests -- Tests