1 Star 0 Fork 357

licj / workflow

forked from 搜狗开源 / workflow 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
xmake.lua 1.36 KB
一键复制 编辑 原始数据 按行查看 历史
xiehan 提交于 2024-03-14 22:34 . Update xmake version
set_project("workflow")
set_version("0.11.3")
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")
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/licj520/workflow.git
git@gitee.com:licj520/workflow.git
licj520
workflow
workflow
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891