You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Note the code has regressed in performance as they added infrastructure to handle inline/inline_origin tracking (in a test we use from 2.1s -> 4.0s), but with some performance changes we've clawed this back to 2.5s. [CL 33571737 by neil henning in ue5-main branch]
40 lines
1.1 KiB
C#
40 lines
1.1 KiB
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using UnrealBuildTool;
|
|
using System.Collections.Generic;
|
|
using System.IO;
|
|
using UnrealBuildBase;
|
|
|
|
[SupportedPlatforms("Win64", "Linux")]
|
|
public class DumpSymsTarget : TargetRules
|
|
{
|
|
public DumpSymsTarget(TargetInfo Target) : base(Target)
|
|
{
|
|
Type = TargetType.Program;
|
|
LinkType = TargetLinkType.Monolithic;
|
|
LaunchModuleName = "DumpSyms";
|
|
|
|
// Make SymsLibDump the shipping version
|
|
UndecoratedConfiguration = UnrealTargetConfiguration.Shipping;
|
|
|
|
// Lean and mean
|
|
bBuildDeveloperTools = false;
|
|
|
|
// Compile out references from Core to the rest of the engine
|
|
bCompileAgainstEngine = false;
|
|
bCompileAgainstCoreUObject = false;
|
|
|
|
// Logs are still useful to print the results
|
|
bUseLoggingInShipping = true;
|
|
|
|
// Make a console application under Windows, so entry point is main() everywhere
|
|
bIsBuildingConsoleApplication = true;
|
|
|
|
bUseUnityBuild = false;
|
|
|
|
var BinaryExt = Target.Platform.IsInGroup(UnrealPlatformGroup.Windows) ? ".exe" : "";
|
|
|
|
OutputFile = Path.Combine("Binaries", "Linux", $"dump_syms{BinaryExt}");
|
|
}
|
|
}
|