mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-16 01:40:52 +08:00
19 lines
372 B
Lua
19 lines
372 B
Lua
|
-- define target: acl
|
||
|
target("acl")
|
||
|
|
||
|
-- set kind: static/shared
|
||
|
set_kind("$(kind)")
|
||
|
|
||
|
-- add source files
|
||
|
add_files("src/**.c|*/bak/*.c")
|
||
|
|
||
|
-- add include directories
|
||
|
add_includedirs(".", "include")
|
||
|
|
||
|
-- add headers
|
||
|
add_headers("include/(**.h)")
|
||
|
set_headerdir("$(buildir)/include/acl")
|
||
|
|
||
|
-- add defines
|
||
|
add_defines("USE_REUSEPORT")
|