Files
UnrealEngineUWP/Engine/Source/Programs/DumpSyms/DumpSyms.Target.cs
neil henning 1b0b1b7d8a (Round 2!): update dump_syms to upstream git version f88a1aa2af1d1fd795716365245761b89041139d, with our additional performance improving changes to it.
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]
2024-05-10 06:45:37 -04:00

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}");
}
}