Project compiles and opens in editor

However the project doesn't automatically open in editor from debug...
Seems like its not attaching from the command for some reason...
This commit is contained in:
2024-04-08 04:40:56 -04:00
parent a04949b7e4
commit 31c312610f
26 changed files with 26568 additions and 21 deletions

View File

@ -0,0 +1,13 @@
using BuildSettingsVersion = UnrealBuildTool.BuildSettingsVersion;
using TargetInfo = UnrealBuildTool.TargetInfo;
using TargetRules = UnrealBuildTool.TargetRules;
using TargetType = UnrealBuildTool.TargetType;
public class SurgoTarget : TargetRules
{
public SurgoTarget(TargetInfo Target) : base(Target)
{
Type = TargetType.Game;
DefaultBuildSettings = BuildSettingsVersion.Latest;
}
}

View File

@ -1,3 +1,6 @@
using System;
using System.Collections.Generic;
using ModuleRules = UnrealBuildTool.ModuleRules;
using ReadOnlyTargetRules = UnrealBuildTool.ReadOnlyTargetRules;
@ -5,6 +8,13 @@ public class Surgo : ModuleRules
{
public Surgo(ReadOnlyTargetRules Target) : base(Target)
{
#region Engine
PrivateIncludePathModuleNames.AddRange(new string[] {
"Core",
});
PrivateDependencyModuleNames.AddRange(new string[] {
"Core",
});
#endregion Engine
}
}

View File

@ -0,0 +1,3 @@
#include "SurgoModule.h"
IMPLEMENT_MODULE(FSurgoModule, Surgo);

View File

@ -6,4 +6,4 @@ class SURGO_API FSurgoModule : public IModuleInterface
{
public:
}
};

View File

@ -1,3 +1,4 @@
using BuildSettingsVersion = UnrealBuildTool.BuildSettingsVersion;
using TargetInfo = UnrealBuildTool.TargetInfo;
using TargetRules = UnrealBuildTool.TargetRules;
using TargetType = UnrealBuildTool.TargetType;
@ -7,5 +8,7 @@ public class SurgoEditorTarget : TargetRules
public SurgoEditorTarget(TargetInfo Target) : base(Target)
{
Type = TargetType.Editor;
DefaultBuildSettings = BuildSettingsVersion.Latest;
}
}

View File

@ -5,6 +5,13 @@ public class SurgoEditor : ModuleRules
{
public SurgoEditor(ReadOnlyTargetRules Target) : base(Target)
{
#region Engine
PrivateIncludePathModuleNames.AddRange(new string[] {
"Core",
});
PrivateDependencyModuleNames.AddRange(new string[] {
"Core",
});
#endregion Engine
}
}

View File

@ -0,0 +1,3 @@
#include "SurgoEditorModule.h"
IMPLEMENT_MODULE(FSurgoEditorModule, SurgoEditor);

View File

@ -0,0 +1,9 @@
#pragma once
#include "Modules/ModuleInterface.h"
class SURGOEDITOR_API FSurgoEditorModule : public IModuleInterface
{
public:
};

View File

@ -1,11 +0,0 @@
using TargetInfo = UnrealBuildTool.TargetInfo;
using TargetRules = UnrealBuildTool.TargetRules;
using TargetType = UnrealBuildTool.TargetType;
public class SurgoGameTarget : TargetRules
{
public SurgoGameTarget(TargetInfo Target) : base(Target)
{
Type = TargetType.Game;
}
}