GASATHON/Project/Source/GasaEditor.Target.cs

32 lines
1.0 KiB
C#
Raw Permalink Normal View History

using System;
using System.Diagnostics;
using System.IO;
using System.Runtime;
using UnrealBuildTool;
2024-04-12 09:42:41 -07:00
using BuildSettingsVersion = UnrealBuildTool.BuildSettingsVersion;
using TargetInfo = UnrealBuildTool.TargetInfo;
using TargetRules = UnrealBuildTool.TargetRules;
using TargetType = UnrealBuildTool.TargetType;
public class GasaEditorTarget : TargetRules
{
public GasaEditorTarget(TargetInfo Target) : base(Target)
{
Type = TargetType.Editor;
DefaultBuildSettings = BuildSettingsVersion.Latest;
bUseUnityBuild = true;
2024-04-16 14:18:06 -07:00
// bUseXGEController = false;
LinkType = TargetLinkType.Modular;
2024-04-12 19:05:09 -07:00
2024-04-12 09:42:41 -07:00
ExtraModuleNames.Add("Gasa");
ExtraModuleNames.Add("GasaEditor");
DirectoryInfo di_uproject = new DirectoryInfo(Path.GetDirectoryName(ProjectFile.ToString())).Parent;
string path_uproject = di_uproject.FullName;
string path_scripts = Path.Combine(path_uproject, "scripts");
string ps_gen_pass_gasa = Path.Combine(path_scripts, "gen_pass_gasa.ps1");
2024-04-12 09:42:41 -07:00
}
}