acl/lib_fiber/c/xmake.lua
2017-12-21 22:51:00 +08:00

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")