68 lines
1.3 KiB
C#
68 lines
1.3 KiB
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using System.Linq;
|
|
using UnrealBuildTool;
|
|
|
|
public class CoreUObject : ModuleRules
|
|
{
|
|
public CoreUObject(ReadOnlyTargetRules Target) : base(Target)
|
|
{
|
|
// Autogenerate headers for our bytecode.
|
|
GenerateHeaderFuncs.Add(("VerseVMBytecode", VerseVMBytecodeGenerator.Generate));
|
|
|
|
PrivatePCHHeaderFile = "Private/CoreUObjectPrivatePCH.h";
|
|
|
|
SharedPCHHeaderFile = "Public/CoreUObjectSharedPCH.h";
|
|
|
|
PrivateIncludePathModuleNames.AddRange(
|
|
new string[]
|
|
{
|
|
"TargetPlatform",
|
|
}
|
|
);
|
|
|
|
PublicDependencyModuleNames.AddRange(
|
|
new string[]
|
|
{
|
|
"Core",
|
|
"TraceLog",
|
|
"CorePreciseFP",
|
|
}
|
|
);
|
|
|
|
SetupVerse();
|
|
|
|
PrivateDependencyModuleNames.AddRange(
|
|
new string[]
|
|
{
|
|
"AutoRTFM",
|
|
"Projects",
|
|
"Json",
|
|
}
|
|
);
|
|
|
|
if (Target.bBuildWithEditorOnlyData || Target.Type == TargetType.Server)
|
|
{
|
|
PublicDefinitions.Add("WITH_VERSE_COMPILER=1");
|
|
}
|
|
else
|
|
{
|
|
PublicDefinitions.Add("WITH_VERSE_COMPILER=0");
|
|
}
|
|
|
|
CppCompileWarningSettings.UnsafeTypeCastWarningLevel = WarningLevel.Error;
|
|
|
|
if (Target.bBuildWithEditorOnlyData)
|
|
{
|
|
PrivateDependencyModuleNames.Add("DerivedDataCache");
|
|
}
|
|
|
|
if (Target.bCompileAgainstApplicationCore)
|
|
{
|
|
PrivateIncludePathModuleNames.Add("ApplicationCore");
|
|
}
|
|
|
|
PrivateDefinitions.Add("UE_DEFINE_LEGACY_MATH_CONSTANT_MACRO_NAMES=0");
|
|
}
|
|
}
|