refactor xmake.lua
This commit is contained in:
@@ -4,9 +4,8 @@ set_languages("c++17")
|
||||
|
||||
target("SimpleProtocolLib")
|
||||
add_includedirs("include")
|
||||
add_headerfiles("include/sp/**.h")
|
||||
add_headerfiles("include/(sp/**.h)")
|
||||
add_files("src/sp/**.cpp")
|
||||
set_kind("static")
|
||||
-- handle shared/static kind
|
||||
if is_plat("wasm") or has_config("static") then
|
||||
set_kind("static")
|
||||
|
||||
Reference in New Issue
Block a user