本文整理汇总了C#中UnrealBuildTool.UEBuildTarget.RegisterModule方法的典型用法代码示例。如果您正苦于以下问题:C# UEBuildTarget.RegisterModule方法的具体用法?C# UEBuildTarget.RegisterModule怎么用?C# UEBuildTarget.RegisterModule使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类UnrealBuildTool.UEBuildTarget
的用法示例。
在下文中一共展示了UEBuildTarget.RegisterModule方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: UEBuildModule
public UEBuildModule(
UEBuildTarget InTarget,
string InName,
UEBuildModuleType InType,
string InModuleDirectory,
string InOutputDirectory,
IEnumerable<string> InPublicDefinitions = null,
IEnumerable<string> InPublicIncludePaths = null,
IEnumerable<string> InPublicSystemIncludePaths = null,
IEnumerable<string> InPublicLibraryPaths = null,
IEnumerable<string> InPublicAdditionalLibraries = null,
IEnumerable<string> InPublicFrameworks = null,
IEnumerable<string> InPublicAdditionalFrameworks = null,
IEnumerable<string> InPublicAdditionalShadowFiles = null,
IEnumerable<string> InPublicIncludePathModuleNames = null,
IEnumerable<string> InPublicDependencyModuleNames = null,
IEnumerable<string> InPublicDelayLoadDLLs = null,
IEnumerable<string> InPrivateIncludePaths = null,
IEnumerable<string> InPrivateIncludePathModuleNames = null,
IEnumerable<string> InPrivateDependencyModuleNames = null,
IEnumerable<string> InCircularlyReferencedDependentModules = null,
IEnumerable<string> InDynamicallyLoadedModuleNames = null,
IEnumerable<string> InPlatformSpecificDynamicallyLoadedModuleNames = null
)
{
Target = InTarget;
Name = InName;
Type = InType;
ModuleDirectory = InModuleDirectory;
OutputDirectory = InOutputDirectory;
PublicDefinitions = ListFromOptionalEnumerableStringParameter(InPublicDefinitions);
PublicIncludePaths = ListFromOptionalEnumerableStringParameter(InPublicIncludePaths);
PublicSystemIncludePaths = ListFromOptionalEnumerableStringParameter(InPublicSystemIncludePaths);
PublicLibraryPaths = ListFromOptionalEnumerableStringParameter(InPublicLibraryPaths);
PublicAdditionalLibraries = ListFromOptionalEnumerableStringParameter(InPublicAdditionalLibraries);
PublicFrameworks = ListFromOptionalEnumerableStringParameter(InPublicFrameworks);
PublicAdditionalFrameworks = ListFromOptionalEnumerableStringParameter(InPublicAdditionalFrameworks);
PublicAdditionalShadowFiles = ListFromOptionalEnumerableStringParameter(InPublicAdditionalShadowFiles);
PublicIncludePathModuleNames = ListFromOptionalEnumerableStringParameter( InPublicIncludePathModuleNames );
PublicDependencyModuleNames = ListFromOptionalEnumerableStringParameter(InPublicDependencyModuleNames);
PublicDelayLoadDLLs = ListFromOptionalEnumerableStringParameter(InPublicDelayLoadDLLs);
PrivateIncludePaths = ListFromOptionalEnumerableStringParameter(InPrivateIncludePaths);
PrivateIncludePathModuleNames = ListFromOptionalEnumerableStringParameter( InPrivateIncludePathModuleNames );
PrivateDependencyModuleNames = ListFromOptionalEnumerableStringParameter( InPrivateDependencyModuleNames );
CircularlyReferencedDependentModules = new HashSet<string>( ListFromOptionalEnumerableStringParameter( InCircularlyReferencedDependentModules ) );
DynamicallyLoadedModuleNames = ListFromOptionalEnumerableStringParameter( InDynamicallyLoadedModuleNames );
PlatformSpecificDynamicallyLoadedModuleNames = ListFromOptionalEnumerableStringParameter(InPlatformSpecificDynamicallyLoadedModuleNames);
Target.RegisterModule(this);
}
示例2: UEBuildModule
public UEBuildModule(
UEBuildTarget InTarget,
string InName,
UEBuildModuleType InType,
string InModuleDirectory,
bool? InIsRedistributableOverride,
IEnumerable<string> InPublicDefinitions,
IEnumerable<string> InPublicIncludePaths,
IEnumerable<string> InPublicSystemIncludePaths,
IEnumerable<string> InPublicLibraryPaths,
IEnumerable<string> InPublicAdditionalLibraries,
IEnumerable<string> InPublicFrameworks,
IEnumerable<string> InPublicWeakFrameworks,
IEnumerable<UEBuildFramework> InPublicAdditionalFrameworks,
IEnumerable<string> InPublicAdditionalShadowFiles,
IEnumerable<UEBuildBundleResource> InPublicAdditionalBundleResources,
IEnumerable<string> InPublicIncludePathModuleNames,
IEnumerable<string> InPublicDependencyModuleNames,
IEnumerable<string> InPublicDelayLoadDLLs,
IEnumerable<string> InPrivateIncludePaths,
IEnumerable<string> InPrivateIncludePathModuleNames,
IEnumerable<string> InPrivateDependencyModuleNames,
IEnumerable<string> InCircularlyReferencedDependentModules,
IEnumerable<string> InDynamicallyLoadedModuleNames,
IEnumerable<string> InPlatformSpecificDynamicallyLoadedModuleNames,
IEnumerable<RuntimeDependency> InRuntimeDependencies,
string InBuildCsFilename
)
{
Target = InTarget;
Name = InName;
Type = InType;
ModuleDirectory = InModuleDirectory;
PublicDefinitions = HashSetFromOptionalEnumerableStringParameter(InPublicDefinitions);
PublicIncludePaths = HashSetFromOptionalEnumerableStringParameter(InPublicIncludePaths);
PublicSystemIncludePaths = HashSetFromOptionalEnumerableStringParameter(InPublicSystemIncludePaths);
PublicLibraryPaths = HashSetFromOptionalEnumerableStringParameter(InPublicLibraryPaths);
PublicAdditionalLibraries = HashSetFromOptionalEnumerableStringParameter(InPublicAdditionalLibraries);
PublicFrameworks = HashSetFromOptionalEnumerableStringParameter(InPublicFrameworks);
PublicWeakFrameworks = HashSetFromOptionalEnumerableStringParameter(InPublicWeakFrameworks);
PublicAdditionalFrameworks = InPublicAdditionalFrameworks == null ? new HashSet<UEBuildFramework>() : new HashSet<UEBuildFramework>(InPublicAdditionalFrameworks);
PublicAdditionalShadowFiles = HashSetFromOptionalEnumerableStringParameter(InPublicAdditionalShadowFiles);
PublicAdditionalBundleResources = InPublicAdditionalBundleResources == null ? new HashSet<UEBuildBundleResource>() : new HashSet<UEBuildBundleResource>(InPublicAdditionalBundleResources);
PublicIncludePathModuleNames = HashSetFromOptionalEnumerableStringParameter( InPublicIncludePathModuleNames );
PublicDependencyModuleNames = HashSetFromOptionalEnumerableStringParameter(InPublicDependencyModuleNames);
PublicDelayLoadDLLs = HashSetFromOptionalEnumerableStringParameter(InPublicDelayLoadDLLs);
PrivateIncludePaths = HashSetFromOptionalEnumerableStringParameter(InPrivateIncludePaths);
PrivateIncludePathModuleNames = HashSetFromOptionalEnumerableStringParameter( InPrivateIncludePathModuleNames );
PrivateDependencyModuleNames = HashSetFromOptionalEnumerableStringParameter( InPrivateDependencyModuleNames );
CircularlyReferencedDependentModules = new HashSet<string>( HashSetFromOptionalEnumerableStringParameter( InCircularlyReferencedDependentModules ) );
DynamicallyLoadedModuleNames = HashSetFromOptionalEnumerableStringParameter( InDynamicallyLoadedModuleNames );
PlatformSpecificDynamicallyLoadedModuleNames = HashSetFromOptionalEnumerableStringParameter(InPlatformSpecificDynamicallyLoadedModuleNames);
RuntimeDependencies = (InRuntimeDependencies == null)? new List<RuntimeDependency>() : new List<RuntimeDependency>(InRuntimeDependencies);
IsRedistributableOverride = InIsRedistributableOverride;
Debug.Assert(InBuildCsFilename == null || InBuildCsFilename.EndsWith(".Build.cs", StringComparison.InvariantCultureIgnoreCase));
BuildCsFilenameField = InBuildCsFilename;
SetupModuleDistributionLevel();
Target.RegisterModule(this);
}
示例3: UEBuildModule
public UEBuildModule(
UEBuildTarget InTarget,
string InName,
UEBuildModuleType InType,
string InModuleDirectory,
string InOutputDirectory,
bool? InIsRedistributableOverride,
IEnumerable<string> InPublicDefinitions = null,
IEnumerable<string> InPublicIncludePaths = null,
IEnumerable<string> InPublicSystemIncludePaths = null,
IEnumerable<string> InPublicLibraryPaths = null,
IEnumerable<string> InPublicAdditionalLibraries = null,
IEnumerable<string> InPublicFrameworks = null,
IEnumerable<string> InPublicWeakFrameworks = null,
IEnumerable<UEBuildFramework> InPublicAdditionalFrameworks = null,
IEnumerable<string> InPublicAdditionalShadowFiles = null,
IEnumerable<UEBuildBundleResource> InPublicAdditionalBundleResources = null,
IEnumerable<string> InPublicIncludePathModuleNames = null,
IEnumerable<string> InPublicDependencyModuleNames = null,
IEnumerable<string> InPublicDelayLoadDLLs = null,
IEnumerable<string> InPrivateIncludePaths = null,
IEnumerable<string> InPrivateIncludePathModuleNames = null,
IEnumerable<string> InPrivateDependencyModuleNames = null,
IEnumerable<string> InCircularlyReferencedDependentModules = null,
IEnumerable<string> InDynamicallyLoadedModuleNames = null,
IEnumerable<string> InPlatformSpecificDynamicallyLoadedModuleNames = null
)
{
Target = InTarget;
Name = InName;
Type = InType;
ModuleDirectory = InModuleDirectory;
OutputDirectory = InOutputDirectory;
PublicDefinitions = HashSetFromOptionalEnumerableStringParameter(InPublicDefinitions);
PublicIncludePaths = HashSetFromOptionalEnumerableStringParameter(InPublicIncludePaths);
PublicSystemIncludePaths = HashSetFromOptionalEnumerableStringParameter(InPublicSystemIncludePaths);
PublicLibraryPaths = HashSetFromOptionalEnumerableStringParameter(InPublicLibraryPaths);
PublicAdditionalLibraries = HashSetFromOptionalEnumerableStringParameter(InPublicAdditionalLibraries);
PublicFrameworks = HashSetFromOptionalEnumerableStringParameter(InPublicFrameworks);
PublicWeakFrameworks = HashSetFromOptionalEnumerableStringParameter(InPublicWeakFrameworks);
PublicAdditionalFrameworks = InPublicAdditionalFrameworks == null ? new HashSet<UEBuildFramework>() : new HashSet<UEBuildFramework>(InPublicAdditionalFrameworks);
PublicAdditionalShadowFiles = HashSetFromOptionalEnumerableStringParameter(InPublicAdditionalShadowFiles);
PublicAdditionalBundleResources = InPublicAdditionalBundleResources == null ? new HashSet<UEBuildBundleResource>() : new HashSet<UEBuildBundleResource>(InPublicAdditionalBundleResources);
PublicIncludePathModuleNames = HashSetFromOptionalEnumerableStringParameter( InPublicIncludePathModuleNames );
PublicDependencyModuleNames = HashSetFromOptionalEnumerableStringParameter(InPublicDependencyModuleNames);
PublicDelayLoadDLLs = HashSetFromOptionalEnumerableStringParameter(InPublicDelayLoadDLLs);
PrivateIncludePaths = HashSetFromOptionalEnumerableStringParameter(InPrivateIncludePaths);
PrivateIncludePathModuleNames = HashSetFromOptionalEnumerableStringParameter( InPrivateIncludePathModuleNames );
PrivateDependencyModuleNames = HashSetFromOptionalEnumerableStringParameter( InPrivateDependencyModuleNames );
CircularlyReferencedDependentModules = new HashSet<string>( HashSetFromOptionalEnumerableStringParameter( InCircularlyReferencedDependentModules ) );
DynamicallyLoadedModuleNames = HashSetFromOptionalEnumerableStringParameter( InDynamicallyLoadedModuleNames );
PlatformSpecificDynamicallyLoadedModuleNames = HashSetFromOptionalEnumerableStringParameter(InPlatformSpecificDynamicallyLoadedModuleNames);
IsRedistributableOverride = InIsRedistributableOverride;
Target.RegisterModule(this);
}