-
在muduo/xmake.lua下 :
通常情况下, 如果项目依赖muduo网络库, 那么会在编译阶段添加选项:
是否和此两段代码相关? |
Beta Was this translation helpful? Give feedback.
Answered by
waruqi
May 18, 2025
Replies: 2 comments 4 replies
-
add_links 是导出给用户项目引入包时候的配置,也可以在 on_load 中配置,跟 cmakelists 和包编译没啥关系。 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
gggggwen
-
此外想请教一下为什么不在此on_install 中连接POSIX线程库? 一般用muduo库需要加入编译选项 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
add_links 是导出给用户项目引入包时候的配置,也可以在 on_load 中配置,跟 cmakelists 和包编译没啥关系。