Files
UnrealEngineUWP/Engine/Source/ThirdParty/Crunch/Crunch.Build.cs
JeanMichel Dignard 5ceaa4da35 In preparation for the editor low level tests, replaced checks against TargetType.Editor with bCompileAgainstEditor in module files.
#rb none
#preflight 61eaca4b445cebac10c368f1

[CL 18689576 by JeanMichel Dignard in ue5-main branch]
2022-01-21 10:26:31 -05:00

27 lines
704 B
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class Crunch : ModuleRules
{
public Crunch(ReadOnlyTargetRules Target) : base(Target)
{
Type = ModuleType.External;
string BasePath = Target.UEThirdPartySourceDirectory + "Crunch/";
PublicSystemIncludePaths.Add(BasePath + "include");
if (Target.bCompileAgainstEditor)
{
// link with lib to allow encoding
string LibPath = BasePath + "Lib/";
if (Target.Platform == UnrealTargetPlatform.Win64)
{
LibPath += "Win64/";
PublicAdditionalLibraries.Add(LibPath + "crnlib.lib");
}
}
}
}