mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-15 01:10:52 +08:00
23 lines
411 B
Lua
23 lines
411 B
Lua
-- define target: fiber
|
|
target("fiber")
|
|
|
|
-- set kind: static/shared
|
|
set_kind("$(kind)")
|
|
|
|
-- add deps: acl
|
|
-- add_deps("acl")
|
|
|
|
-- add source files
|
|
add_files("src/**.c")
|
|
|
|
-- add include directories
|
|
add_includedirs("src", "include")
|
|
|
|
-- add headers
|
|
add_headers("include/(**.h)")
|
|
set_headerdir("$(buildir)/include/fiber")
|
|
|
|
-- add flags
|
|
add_cxflags("-std=gnu99")
|
|
|