Replies: 1 comment 3 replies
-
参考 release rules 的设置,对 builder target 单独设置上不就好了么。。 target("builder")
set_kind("binary")
add_files("builder/**.cpp")
set_optimize("fastest")
set_strip("all")
set_symbols("hidden") xmake/xmake/rules/mode/xmake.lua Line 57 in 0c42d25 |
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
Uh oh!
There was an error while loading. Please reload this page.
-
我这边编译的流程是这样:
编译工具 --> 执行工具 --> 编译其他项目
工具会生成一些代码,所以必须先执行。平时开发项目一般都是编译debug版本,但是工具我不希望使用debug版本,因为执行起来太慢,我希望无论其他项目是release还是debug,工具都按照release编译,现在项目配置大概如下:
这种配置编译debug版本app时,builder也是debug版本,执行起来太慢。有什么办法让builder永远是release版本,除非设置了某个参数。
Beta Was this translation helpful? Give feedback.
All reactions