mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-11-29 18:37:41 +08:00
Merge pull request #179 from waruqi/export_public
update xmake.lua: export public includedirs
This commit is contained in:
commit
4dbf68e934
@ -8,11 +8,11 @@ target("acl")
|
||||
add_files("src/**.c|*/bak/*.c")
|
||||
|
||||
-- add include directories
|
||||
add_includedirs(".", "include")
|
||||
add_includedirs(".")
|
||||
add_includedirs("include", {public = true})
|
||||
|
||||
-- add headers
|
||||
add_headerfiles("include/(**.h)")
|
||||
-- set_headerdir("$(buildir)/include/acl")
|
||||
|
||||
-- add defines
|
||||
add_defines("USE_REUSEPORT")
|
||||
|
@ -16,13 +16,11 @@ target("acl_cpp")
|
||||
add_includedirs("$(projectdir)/include/mysql")
|
||||
add_includedirs("$(projectdir)/include/pgsql")
|
||||
add_includedirs("$(projectdir)/include/sqlite")
|
||||
add_includedirs("$(projectdir)/lib_acl/include")
|
||||
add_includedirs("$(projectdir)/lib_protocol/include")
|
||||
add_includedirs("src", "include")
|
||||
add_includedirs("src")
|
||||
add_includedirs("include", {public = true})
|
||||
|
||||
-- add headers
|
||||
add_headerfiles("include/(**.h)", "include/(**.hpp)", "include/(**.ipp)")
|
||||
-- set_headerdir("$(buildir)/include/acl_cpp")
|
||||
|
||||
-- set precompile header
|
||||
set_pcxxheader("src/acl_stdafx.hpp")
|
||||
|
@ -4,18 +4,15 @@ 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_includedirs("src")
|
||||
add_includedirs("include", {public = true})
|
||||
|
||||
-- add headers
|
||||
add_headerfiles("include/(**.h)")
|
||||
-- set_headerdir("$(buildir)/include/fiber")
|
||||
|
||||
-- add flags
|
||||
add_cxflags("-std=gnu99")
|
||||
|
@ -11,15 +11,11 @@ target("fiber_cpp")
|
||||
add_files("src/**.cpp")
|
||||
|
||||
-- add include directories
|
||||
add_includedirs("src", "include")
|
||||
add_includedirs("$(projectdir)/lib_fiber/c/include")
|
||||
add_includedirs("$(projectdir)/lib_acl/include")
|
||||
add_includedirs("$(projectdir)/lib_acl_cpp/include")
|
||||
add_includedirs("src")
|
||||
add_includedirs("include", {public = true})
|
||||
|
||||
-- add headers
|
||||
add_headerfiles("include/(**.h)", "include/(**.hpp)")
|
||||
add_includedirs("src", "include", "../../lib_acl/src/master")
|
||||
-- set_headerdir("$(buildir)/include/fiber_cpp")
|
||||
|
||||
|
||||
|
||||
|
@ -11,12 +11,11 @@ target("protocol")
|
||||
add_files("src/**.c")
|
||||
|
||||
-- add include directories
|
||||
add_includedirs("src", "include")
|
||||
add_includedirs("$(projectdir)/lib_acl/include")
|
||||
add_includedirs("src")
|
||||
add_includedirs("include", {public = true})
|
||||
|
||||
-- add headers
|
||||
add_headerfiles("include/(**.h)")
|
||||
-- set_headerdir("$(buildir)/include/protocol")
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user