acl/lib_fiber/c/xmake.lua

23 lines
411 B
Lua
Raw Normal View History

2017-12-21 22:51:00 +08:00
-- 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")