Ai
1 Star 2 Fork 0

Smalldy/CppVisualTracing

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
xmake.lua 720 Bytes
一键复制 编辑 原始数据 按行查看 历史
Smalldy 提交于 2022-06-28 17:28 +08:00 . update xmake.lua.
-- @formatter:off
add_rules("mode.debug", "mode.release")
set_languages("c++17")
add_requires("cli11", "cpp-httplib", "nlohmann_json")
target("tracingloader")
set_kind("binary")
add_files("src/tracing_loader/*.cpp", "src/tracing/*.cpp")
add_packages("cli11", "cpp-httplib", "nlohmann_json")
if is_plat("linux") then
add_links("pthread")
end
if is_plat("windows") then
add_defines("OS_WINDOWS")
end
if is_plat("linux") then
add_defines("OS_LINUX")
end
target("test")
set_kind("binary")
add_files("src/tracing/*.cpp")
add_files("src/main.cpp")
add_packages("nlohmann_json")
if is_plat("linux") then
add_links("pthread")
end
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/smalldyy/cpp-visual-tracing.git
git@gitee.com:smalldyy/cpp-visual-tracing.git
smalldyy
cpp-visual-tracing
CppVisualTracing
master

搜索帮助