You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Add a better error message when trying to use a module that is not included in an installed build.
#rb none #jira [CL 5215521 by Ben Marsh in 4.22 branch]
This commit is contained in:
@@ -258,6 +258,11 @@ namespace UnrealBuildTool
|
||||
// If the module is precompiled, read the object files from the manifest
|
||||
if(Rules.bUsePrecompiled && Target.LinkType == TargetLinkType.Monolithic)
|
||||
{
|
||||
if(!FileReference.Exists(PrecompiledManifestLocation))
|
||||
{
|
||||
throw new BuildException("Missing precompiled manifest for '{0}'. This module was most likely not flagged for being included in a precompiled build - set 'PrecompileForTargets = PrecompileTargetsType.Any;' in {0}.build.cs to override.", Name);
|
||||
}
|
||||
|
||||
PrecompiledManifest Manifest = PrecompiledManifest.Read(PrecompiledManifestLocation);
|
||||
foreach(FileReference OutputFile in Manifest.OutputFiles)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user