cocos-engine
cocos-engine copied to clipboard
Enhance Macro Config
Use Case
Custom macros only support Boolean types. They should all support it. Custom macros can only be of const type and cannot be modified by code like built-in macros. They should all support it.
Problem Description
.
Proposed Solution
No response
How it works
No response
Alternatives Considered
.
Additional Information
No response
I also have some ideas about custom macros
I hope that the value of the custom macro can also be modified in the build task, instead of only modifying the value in the project configuration.
In this way, we can define macros in the project configuration and define different values in respective build tasks to achieve the purpose of multi-channel construction.
any one?
any one?
hi.