47 lines
1015 B
C#
47 lines
1015 B
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using UnrealBuildTool;
|
|
using System.IO;
|
|
|
|
public class MetaHumanCaptureUtils : 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 MetaHumanCaptureUtils(ReadOnlyTargetRules Target) : base(Target)
|
|
{
|
|
bUsePrecompiled = !BuildForDevelopment;
|
|
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
|
|
|
|
PublicIncludePaths.AddRange(new string[]
|
|
{
|
|
// ... add public include paths required here ...
|
|
});
|
|
|
|
|
|
PrivateIncludePaths.AddRange(new string[]
|
|
{
|
|
// ... add other private include paths required here ...
|
|
});
|
|
|
|
PublicDependencyModuleNames.AddRange(new string[]
|
|
{
|
|
"Core",
|
|
"CoreUObject",
|
|
"Engine",
|
|
});
|
|
|
|
PrivateDependencyModuleNames.AddRange(new string[]
|
|
{
|
|
});
|
|
}
|
|
}
|