Add generic IO #3
11
xmake.lua
11
xmake.lua
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user