新增bUseRelease

This commit is contained in:
crazytuzi committed 2026-05-28 00:46:47 +08:00
1 parent 76f5911858
commit d120d6bb4b
1 file changed
+5 -2
+5 -2
View File
@@ -23,8 +23,11 @@ public class CoreCLR : ModuleRules
$"DOTNET_PATCH_VERSION={PatchVersion}" $"DOTNET_PATCH_VERSION={PatchVersion}"
}); });
var bIsDebug = Target.Configuration == UnrealTargetConfiguration.Debug || var bUseRelease = true;
Target.Configuration == UnrealTargetConfiguration.DebugGame;
var bIsDebug = !bUseRelease &&
(Target.Configuration == UnrealTargetConfiguration.Debug ||
Target.Configuration == UnrealTargetConfiguration.DebugGame);
var CoreCLRConfiguration = bIsDebug ? "Debug" : "Release"; var CoreCLRConfiguration = bIsDebug ? "Debug" : "Release";