cocos-engine icon indicating copy to clipboard operation
cocos-engine copied to clipboard

Enhance Macro Config

Open smallmain opened this issue 1 year ago • 3 comments

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.

image

Problem Description

.

Proposed Solution

No response

How it works

No response

Alternatives Considered

.

Additional Information

No response

smallmain avatar Dec 07 '23 07:12 smallmain

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.

zhitaocai avatar Jan 11 '24 10:01 zhitaocai

any one?

zhitaocai avatar Mar 29 '24 09:03 zhitaocai

any one?

hi.

smallmain avatar Mar 29 '24 11:03 smallmain