This commit is contained in:
@@ -71,11 +71,8 @@ target("SimpleProtocol")
|
|||||||
add_files("src/sp/**.cpp")
|
add_files("src/sp/**.cpp")
|
||||||
set_group("Library")
|
set_group("Library")
|
||||||
set_kind("$(kind)")
|
set_kind("$(kind)")
|
||||||
|
|
||||||
local includeFolders = {"common", "default", "io", "protocol"}
|
add_headerfiles("include/(sp/**.h)", "include/(sp/**.inl)")
|
||||||
for _, folder in ipairs(includeFolders) do
|
|
||||||
add_headerfiles("include/(sp/" .. folder .. "/**.h)")
|
|
||||||
end
|
|
||||||
|
|
||||||
-- adding extensions
|
-- adding extensions
|
||||||
for name, module in table.orderpairs(modules) do
|
for name, module in table.orderpairs(modules) do
|
||||||
@@ -86,6 +83,7 @@ target("SimpleProtocol")
|
|||||||
|
|
||||||
-- we don't want extensions
|
-- we don't want extensions
|
||||||
remove_files("src/sp/extensions/**.cpp")
|
remove_files("src/sp/extensions/**.cpp")
|
||||||
|
remove_headerfiles("include/(sp/extension/**.h)")
|
||||||
|
|
||||||
-- we need this for endian functions
|
-- we need this for endian functions
|
||||||
if is_os("windows") then
|
if is_os("windows") then
|
||||||
|
|||||||
Reference in New Issue
Block a user