xmake 为啥默认构建 release 版本 #6802
githubnotebooks
started this conversation in
General
Replies: 1 comment
-
https://xmake.io/api/description/global-interfaces.html#set-defaultmode |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
在一个项目的开发周期里,Debug 构建的使用频率一定高于 Release,因为 Debug 是用来快速迭代、调试、定位 bug 的,而 Release 是在功能稳定后才构建用于发布或性能测试的。
xmake 对 Debug 构建需要手动调整(
xmake f -m debug
),岂不是增加了麻烦程度。如果用户由于种种原因,删掉了.xmake
目录,那么又需要重新运行xmake f -m debug
。Beta Was this translation helpful? Give feedback.
All reactions