mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-15 17:30:53 +08:00
21 lines
395 B
Lua
21 lines
395 B
Lua
-- 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})
|
|
|
|
-- add headers
|
|
add_headerfiles("include/(**.h)")
|
|
|
|
-- add flags
|
|
add_cxflags("-std=gnu99")
|
|
add_defines("DUSE_BOOST_JMP")
|
|
|