Files
UnrealEngineUWP/Engine/Source/Programs/AutomationTool/BuildGraph/BgGraphBuilder.cs
Ben Marsh a59ef99c07 BuildGraph: New mechanism for declaring graphs using C# code (WIP).
Nodes can now be implemented by arbitary C# methods. Graph structure is specified through expression trees implemented using Bg* types, which are not substituted with values until execution time. Doing so allows determination of node and option dependencies for a particular target, allowing us to generate dynamic UI for presenting relevant settings to the user.

Includes partial implementation of Installed Build script as an example implementation.

#preflight 61bb85d46c2686e86322eec9

[CL 18477305 by Ben Marsh in ue5-main branch]
2021-12-16 13:55:22 -05:00

22 lines
479 B
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using EpicGames.BuildGraph;
using System;
using System.Collections.Generic;
using System.Text;
namespace AutomationTool
{
/// <summary>
/// Base class for any user defined graphs
/// </summary>
public abstract class BgGraphBuilder
{
/// <summary>
/// Callback used to instantiate the graph
/// </summary>
/// <param name="Graph">The graph object</param>
public abstract void SetupGraph(BgGraphSpec Graph);
}
}