Skip to content

如何自定义编译 #1664

Closed Answered by waruqi
Dozingfiretruck asked this question in Q&A
Discussion options

You must be logged in to vote

定义 target 属于描述阶段就定义好的,后期读文件判断就置后了。。没法再调整,只能在 on_load() 阶段,动态通过 target:set("default", false) 来禁用某个 target 的默认编译,你也可以在 on_load 阶段走 io.readfile 读取指定文件 判断 defines

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Dozingfiretruck
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1663 on September 10, 2021 06:16.