alignment #1

Merged
Persson-dev merged 19 commits from alignment into main 2025-02-23 09:40:46 +00:00
Showing only changes of commit d99137d78d - Show all commits

View File

@@ -3,16 +3,11 @@ add_rules("mode.debug", "mode.release")
set_languages("c++17") set_languages("c++17")
target("SimpleProtocolLib") target("SimpleProtocolLib")
add_includedirs("include") add_includedirs("include", {public = true})
add_headerfiles("include/(sp/**.h)") add_headerfiles("include/(sp/**.h)")
set_group("Library") set_group("Library")
add_files("src/sp/**.cpp") add_files("src/sp/**.cpp")
-- handle shared/static kind set_kind("$(kind)")
if is_plat("wasm") or has_config("static") then
set_kind("static")
else
set_kind("shared")
end
target("SimpleProtocolLibMain") target("SimpleProtocolLibMain")