You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
39 lines
879 B
C#
39 lines
879 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 EpicGames.Core;
|
|
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;
|
|
}
|
|
}
|
|
}
|