acl/lib_fiber/c/xmake.lua

21 lines
395 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 source files
add_files("src/**.c")
-- add include directories
add_includedirs("src")
add_includedirs("include", {public = true})
2017-12-21 22:51:00 +08:00
-- add headers
2019-10-08 16:36:16 +08:00
add_headerfiles("include/(**.h)")
2017-12-21 22:51:00 +08:00
-- add flags
add_cxflags("-std=gnu99")
2022-06-14 15:35:33 +08:00
add_defines("DUSE_BOOST_JMP")
2017-12-21 22:51:00 +08:00