38 lines
831 B
C#
38 lines
831 B
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using System.IO;
|
|
using UnrealBuildTool;
|
|
|
|
public class MetaHumanFaceContourTracker : 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 MetaHumanFaceContourTracker(ReadOnlyTargetRules Target) : base(Target)
|
|
{
|
|
bUsePrecompiled = !BuildForDevelopment;
|
|
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
|
|
|
|
PublicDependencyModuleNames.AddRange(new string[] {
|
|
"Core",
|
|
"CoreUObject",
|
|
"NNE",
|
|
});
|
|
|
|
PrivateDependencyModuleNames.AddRange(new string[] {
|
|
"Engine",
|
|
"Slate",
|
|
"SlateCore",
|
|
"Projects",
|
|
"MetaHumanCore",
|
|
});
|
|
}
|
|
} |