You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
UnrealBuildTool: Invalidate makefile if -Manifest= is requested but is out of date or missing
#rnx #rb trivial #preflight 63e55928f306fe2858711e7f [CL 24105366 by Joe Kirchoff in ue5-main branch]
This commit is contained in:
@@ -639,6 +639,24 @@ namespace UnrealBuildTool
|
||||
return null;
|
||||
}
|
||||
|
||||
// Check if any manifests are out of date
|
||||
foreach (FileReference Manifest in Makefile.AdditionalArguments!
|
||||
.Where(x => x.StartsWith("-Manifest=", StringComparison.OrdinalIgnoreCase))
|
||||
.Select(x => FileReference.FromString(x.Substring("-Manifest=".Length)))
|
||||
.Where(x => x != null))
|
||||
{
|
||||
if (!FileReference.Exists(Manifest))
|
||||
{
|
||||
ReasonNotLoaded = $"manifest '{Manifest}' not found";
|
||||
return null;
|
||||
}
|
||||
else if (FileReference.GetLastWriteTimeUtc(Manifest) < Makefile.CreateTimeUtc)
|
||||
{
|
||||
ReasonNotLoaded = $"manifest '{Manifest}' not found";
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Check if any config settings have changed. Ini files contain build settings too.
|
||||
if(!Makefile.ConfigValueTracker.IsValid())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user