136 Star 1.1K Fork 351

GVP搜狗开源 / workflow

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
xmake.lua 1.36 KB
一键复制 编辑 原始数据 按行查看 历史
xiehan 提交于 2024-04-23 22:17 . 0.11.3 -> 0.11.4
set_project("workflow")
set_version("0.11.4")
option("workflow_inc", {description = "workflow inc", default = "$(projectdir)/_include"})
option("workflow_lib", {description = "workflow lib", default = "$(projectdir)/_lib"})
option("kafka", {description = "build kafka component", default = false})
option("consul", {description = "build consul component", default = true})
option("mysql", {description = "build mysql component", default = true})
option("redis", {description = "build redis component", default = true})
option("upstream", {description = "build upstream component", default = true})
option("memcheck", {description = "valgrind memcheck", default = false})
if is_mode("release") then
set_optimize("faster")
set_strip("all")
elseif is_mode("debug") then
set_symbols("debug")
set_optimize("none")
end
set_languages("gnu90", "c++11")
set_warnings("all")
set_exceptions("no-cxx")
add_requires("openssl")
add_packages("openssl")
add_syslinks("pthread")
if has_config("kafka") then
add_requires("snappy", "lz4", "zstd", "zlib")
end
add_includedirs(get_config("workflow_inc"))
add_includedirs(path.join(get_config("workflow_inc"), "workflow"))
set_config("buildir", "build.xmake")
add_cflags("-fPIC", "-pipe")
add_cxxflags("-fPIC", "-pipe", "-Wno-invalid-offsetof")
includes("src", "test", "benchmark", "tutorial")
C++
1
https://gitee.com/sogou/workflow.git
git@gitee.com:sogou/workflow.git
sogou
workflow
workflow
master

搜索帮助