42 lines
872 B
C#
42 lines
872 B
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using UnrealBuildTool;
|
|
using System.IO;
|
|
|
|
public class MetaHumanFaceFittingSolver : ModuleRules
|
|
{
|
|
protected bool BuildForDevelopment
|
|
{
|
|
get
|
|
{
|
|
// Check if source is available
|
|
string SourceFilesPath = Path.Combine(ModuleDirectory, "Private");
|
|
return Directory.Exists(SourceFilesPath) &&
|
|
Directory.GetFiles(SourceFilesPath).Length > 0;
|
|
}
|
|
}
|
|
|
|
public MetaHumanFaceFittingSolver(ReadOnlyTargetRules Target) : base(Target)
|
|
{
|
|
bUsePrecompiled = !BuildForDevelopment;
|
|
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
|
|
|
|
PublicDependencyModuleNames.AddRange(new string[]
|
|
{
|
|
"Core",
|
|
});
|
|
|
|
PrivateDependencyModuleNames.AddRange(new string[]
|
|
{
|
|
"CoreUObject",
|
|
"Engine",
|
|
"Projects",
|
|
"Json",
|
|
"Slate",
|
|
"SlateCore",
|
|
"MetaHumanFaceAnimationSolver",
|
|
"MetaHumanConfig",
|
|
});
|
|
}
|
|
}
|