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:
13
Project/Source/Surgo.Target.cs
Normal file
13
Project/Source/Surgo.Target.cs
Normal 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;
|
||||
}
|
||||
}
|
@ -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
|
||||
}
|
||||
}
|
||||
|
3
Project/Source/Surgo/SurgoModule.cpp
Normal file
3
Project/Source/Surgo/SurgoModule.cpp
Normal file
@ -0,0 +1,3 @@
|
||||
#include "SurgoModule.h"
|
||||
|
||||
IMPLEMENT_MODULE(FSurgoModule, Surgo);
|
@ -6,4 +6,4 @@ class SURGO_API FSurgoModule : public IModuleInterface
|
||||
{
|
||||
public:
|
||||
|
||||
}
|
||||
};
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
}
|
||||
|
3
Project/Source/SurgoEditor/SurgoEditorModule.cpp
Normal file
3
Project/Source/SurgoEditor/SurgoEditorModule.cpp
Normal file
@ -0,0 +1,3 @@
|
||||
#include "SurgoEditorModule.h"
|
||||
|
||||
IMPLEMENT_MODULE(FSurgoEditorModule, SurgoEditor);
|
9
Project/Source/SurgoEditor/SurgoEditorModule.h
Normal file
9
Project/Source/SurgoEditor/SurgoEditorModule.h
Normal file
@ -0,0 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#include "Modules/ModuleInterface.h"
|
||||
|
||||
class SURGOEDITOR_API FSurgoEditorModule : public IModuleInterface
|
||||
{
|
||||
public:
|
||||
|
||||
};
|
@ -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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user