You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rb none #preflight 61eaca4b445cebac10c368f1 [CL 18689576 by JeanMichel Dignard in ue5-main branch]
27 lines
704 B
C#
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");
|
|
}
|
|
}
|
|
}
|
|
}
|