2024-04-12 09:42:41 -07:00
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
2024-04-22 22:10:02 -07:00
|
|
|
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)
|
|
|
|
{
|
2024-04-22 22:10:02 -07:00
|
|
|
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",
|
2024-04-23 15:54:17 -07:00
|
|
|
"CoreOnline",
|
2024-04-12 09:42:41 -07:00
|
|
|
"CoreUObject",
|
2024-04-12 23:31:49 -07:00
|
|
|
"DeveloperSettings",
|
2024-04-12 09:42:41 -07:00
|
|
|
"Engine",
|
|
|
|
"EnhancedInput",
|
|
|
|
"GameplayAbilities",
|
|
|
|
"GameplayTags",
|
|
|
|
"GameplayTasks",
|
|
|
|
"InputCore",
|
|
|
|
"NetCore",
|
|
|
|
"Niagara",
|
2024-04-22 22:10:02 -07:00
|
|
|
"OnlineSubsystem",
|
2024-04-16 14:18:06 -07:00
|
|
|
"SlateCore",
|
2024-04-21 06:51:51 -07:00
|
|
|
"UMG",
|
2024-04-12 09:42:41 -07:00
|
|
|
});
|
2024-04-21 06:51:51 -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",
|
|
|
|
});
|
|
|
|
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");
|
2024-04-21 06:51:51 -07:00
|
|
|
PublicIncludePathModuleNames.Add("Gasa");
|
2024-04-12 09:42:41 -07:00
|
|
|
}
|
|
|
|
}
|