mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-02 20:08:21 +08:00
21 lines
388 B
Lua
21 lines
388 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("USE_JMP")
|
|
|