You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
StaticLighting: Prevent UnrealLightmass from being compiled in configurations other than Debug and Development. Also check the Lightmass executable with Development configuration specifically since the editor can default to DebugGame
#preflight 633b13f36b10157eac5d6357 [CL 22322280 by yujiang wang in ue5-main branch]
This commit is contained in:
@@ -436,7 +436,7 @@ namespace UnrealBuildTool
|
||||
foreach (Project ProjectTarget in ProjectTargets)
|
||||
{
|
||||
string TargetName = ProjectTargets[0].TargetRules!.Name;
|
||||
if (TargetName == "ShaderCompileWorker" || TargetName == "UnrealLightmass")
|
||||
if (TargetName == "ShaderCompileWorker")
|
||||
{
|
||||
MatchingProjectTargets.Add(ProjectTarget);
|
||||
break;
|
||||
|
||||
@@ -4,6 +4,7 @@ using UnrealBuildTool;
|
||||
using System.Collections.Generic;
|
||||
|
||||
[SupportedPlatforms(UnrealPlatformClass.Desktop)]
|
||||
[SupportedConfigurations(UnrealTargetConfiguration.Debug, UnrealTargetConfiguration.Development)]
|
||||
public class UnrealLightmassTarget : TargetRules
|
||||
{
|
||||
public UnrealLightmassTarget(TargetInfo Target) : base(Target)
|
||||
|
||||
Reference in New Issue
Block a user