xmake能否设置不配置优化等级 #5016
Unanswered
jiangyunfei1
asked this question in
Q&A
Replies: 1 comment
-
xmake 默认也不会设置,只不过是默认创建的模版工程,加了 你可以完全去掉这个配置,不用 xmake 提供的 release 配置,就不会加了,也可以自己定义 release 规则,或者通过 如果你的工程什么 add_rules mode 都没加,就一个 target 。。xmake 是不会自动加任何 flags 的 |
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.
-
目前我在linux嵌入式平台中从Cmake切换到xmake,出现一个问题。Cmake默认不会设置优化等级,但是xmake默认会设置。但是这个交叉编译工具链在O0下代码运行正常,在其他优化等级O1 Os O2等都不正常。所以release默认下编译运行结果和Cmake不一样,能否像CMake一样不去修改编译工具的优化等级
Beta Was this translation helpful? Give feedback.
All reactions