Files
UnrealEngineUWP/Engine/Source/Programs/AutomationTool/Scripts/BenchmarkBuild/BenchmarkNopCompileTask.cs
andrew grant 838844b46c Simplified ddc options in the benchmark script due to the rapidly growing number of flags.
[FYI] josh.engbretson


#ROBOMERGE-SOURCE: CL 12094798 via CL 12094804 via CL 12094805 via CL 12094808
#ROBOMERGE-BOT: (v657-12064184)

[CL 12094810 by andrew grant in Main branch]
2020-03-09 17:03:55 -04:00

39 lines
883 B
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using AutomationTool;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tools.DotNETCommon;
using UnrealBuildTool;
namespace AutomationTool.Benchmark
{
class BenchmarkNopCompileTask : BenchmarkBuildTask
{
BenchmarkBuildTask PreTask;
public BenchmarkNopCompileTask(FileReference InProjectFile, string InTarget, UnrealTargetPlatform InPlatform, BuildOptions InOptions)
: base(InProjectFile, InTarget, InPlatform, InOptions)
{
PreTask = new BenchmarkBuildTask(InProjectFile, InTarget, InPlatform, InOptions);
TaskModifiers.Add("nopcompile");
}
protected override bool PerformPrequisites()
{
if (!base.PerformPrequisites())
{
return false;
}
PreTask.Run();
return !PreTask.Failed;
}
}
}