GASATHON/Project/Source/Gasa/Gasa.Build.cs

117 lines
3.4 KiB
C#
Raw Permalink Normal View History

2024-04-12 09:42:41 -07:00
using System;
using System.Collections.Generic;
using UnrealBuildTool;
2024-04-12 09:42:41 -07:00
using ModuleRules = UnrealBuildTool.ModuleRules;
using ReadOnlyTargetRules = UnrealBuildTool.ReadOnlyTargetRules;
using TargetRules = UnrealBuildTool.TargetRules;
using UnrealTargetConfiguration = UnrealBuildTool.UnrealTargetConfiguration;
public class Gasa : ModuleRules
{
public Gasa(ReadOnlyTargetRules Target) : base(Target)
{
bUseUnity = false;
bMergeUnityFiles = false;
IWYUSupport = IWYUSupport.None;
PCHUsage = PCHUsageMode.NoPCHs;
OptimizeCode = CodeOptimization.Never;
MinCpuArchX64 = MinimumCpuArchitectureX64.AVX512;
IncludeOrderVersion = EngineIncludeOrderVersion.Latest;
bCodeCoverage = false;
bDisableStaticAnalysis = true;
bValidateCircularDependencies = true;
bValidateFormatStrings = false;
bValidateInternalApi = false;
bEnableExceptions = false;
bEnableBufferSecurityChecks = false;
bEnableNonInlinedGenCppWarnings = false;
bEnableUndefinedIdentifierWarnings = false;
bIgnoreUnresolvedSymbols = false;
bEnableObjCAutomaticReferenceCounting = false;
bEnableObjCExceptions = false;
var Kilobyte = 1024;
NumIncludedBytesPerUnityCPPOverride = Kilobyte * 32;
MinFilesUsingPrecompiledHeaderOverride = 1;
PrivatePCHHeaderFile = "GasaColdHeadersPCH.h";
2024-04-12 19:05:09 -07:00
2024-04-12 09:42:41 -07:00
#region Engine
PrivateIncludePathModuleNames.AddRange(new string[] {
"Core",
2024-04-12 13:30:01 -07:00
"Engine",
"EnhancedInput",
2024-04-12 09:42:41 -07:00
});
PrivateDependencyModuleNames.AddRange(new string[] {
"Core",
"AIModule",
"CoreOnline",
2024-04-12 09:42:41 -07:00
"CoreUObject",
"DeveloperSettings",
2024-04-12 09:42:41 -07:00
"Engine",
"EnhancedInput",
"GameplayAbilities",
"GameplayTags",
"GameplayTasks",
"InputCore",
"NetCore",
"Niagara",
"OnlineSubsystem",
2024-04-16 14:18:06 -07:00
"SlateCore",
"UMG",
2024-04-12 09:42:41 -07:00
});
if (Target.bBuildEditor)
{
PrivateDependencyModuleNames.AddRange( new string[] {
"UnrealEd",
"UMGEditor",
});
}
#endregion Engine
2024-04-12 09:42:41 -07:00
#region Plugins
if (Target.Configuration != UnrealTargetConfiguration.Shipping && Target.Type != TargetRules.TargetType.Server)
{
2024-04-12 19:05:09 -07:00
PrivateDefinitions.AddRange(new string[]
{
"ENABLE_COG=true",
});
2024-04-12 09:42:41 -07:00
PrivateIncludePathModuleNames.AddRange( new string[]
{
"CogCommon",
2024-04-26 15:23:13 -07:00
"CogAbility",
"CogAI",
"CogAll",
"CogDebug",
"CogDebugEditor",
"CogEngine",
"CogImgui",
"CogInput",
"CogWindow",
2024-04-12 09:42:41 -07:00
});
PrivateDependencyModuleNames.AddRange(new string[]
{
// "UE_ImGui",
"CogCommon",
"CogAbility",
"CogAI",
"CogAll",
"CogDebug",
"CogEngine",
"CogImgui",
"CogInput",
"CogWindow",
});
}
#endregion Plugins
2024-04-12 16:55:34 -07:00
PublicIncludePaths.Add("Gasa");
PublicIncludePathModuleNames.Add("Gasa");
2024-04-12 09:42:41 -07:00
}
}