switch off debug compile-defs in release mode
This commit is contained in:
parent
21553804a2
commit
7b7b0afd64
@ -423,12 +423,20 @@ void M_BuildEntryPoint(WaveLaneCtx *lane)
|
||||
{
|
||||
//- Common
|
||||
{
|
||||
PushStringToList(perm, &cp.defs, Lit("-DIsConsoleApp=0"));
|
||||
if (M.cmdline.release)
|
||||
{
|
||||
PushStringToList(perm, &cp.defs, Lit("-DIsUnoptimized=0"));
|
||||
PushStringToList(perm, &cp.defs, Lit("-DIsRtcEnabled=0"));
|
||||
}
|
||||
else
|
||||
{
|
||||
PushStringToList(perm, &cp.defs, Lit("-DIsUnoptimized=1"));
|
||||
PushStringToList(perm, &cp.defs, Lit("-DIsRtcEnabled=1"));
|
||||
}
|
||||
PushStringToList(perm, &cp.defs, Lit("-DIsConsoleApp=0"));
|
||||
PushStringToList(perm, &cp.defs, Lit("-DIsAsanEnabled=0"));
|
||||
PushStringToList(perm, &cp.defs, Lit("-DIsDebinfoEnabled=1"));
|
||||
PushStringToList(perm, &cp.defs, Lit("-DIsDeveloperModeEnabled=1"));
|
||||
PushStringToList(perm, &cp.defs, Lit("-DIsUnoptimized=1"));
|
||||
PushStringToList(perm, &cp.defs, Lit("-DIsTestingEnabled=0"));
|
||||
PushStringToList(perm, &cp.defs, Lit("-DIsHotSwappingEnabled=1"));
|
||||
PushStringToList(perm, &cp.defs, StringF(perm, "-DDefaultAppName=%F", FmtString(M.cmdline.leaf_layer_name)));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user