You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
27 lines
708 B
C#
27 lines
708 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.Type == TargetType.Editor)
|
|
{
|
|
// link with lib to allow encoding
|
|
string LibPath = BasePath + "Lib/";
|
|
|
|
if (Target.Platform == UnrealTargetPlatform.Win64)
|
|
{
|
|
LibPath += "Win64/";
|
|
PublicAdditionalLibraries.Add(LibPath + "crnlib.lib");
|
|
}
|
|
}
|
|
}
|
|
}
|