2017-11-29 13:06:06 +08:00
|
|
|
-- define target: fiber_cpp
|
|
|
|
target("fiber_cpp")
|
|
|
|
|
|
|
|
-- set kind: static/shared
|
|
|
|
set_kind("$(kind)")
|
|
|
|
|
|
|
|
-- add deps: fiber, acl
|
|
|
|
add_deps("fiber", "acl_cpp", "acl")
|
|
|
|
|
|
|
|
-- add source files
|
2022-06-14 15:35:33 +08:00
|
|
|
add_files("src/*.cpp")
|
|
|
|
add_files("src/keeper/*.cpp")
|
2017-11-29 13:06:06 +08:00
|
|
|
|
|
|
|
-- add include directories
|
2019-10-14 09:34:37 +08:00
|
|
|
add_includedirs("src")
|
|
|
|
add_includedirs("include", {public = true})
|
2017-11-29 13:06:06 +08:00
|
|
|
|
|
|
|
-- add headers
|
2019-10-08 16:36:16 +08:00
|
|
|
add_headerfiles("include/(**.h)", "include/(**.hpp)")
|
2022-06-14 15:35:33 +08:00
|
|
|
add_includedirs("$(projectdir)/lib_acl/src/master")
|
2017-11-29 13:06:06 +08:00
|
|
|
|
|
|
|
|
|
|
|
|