Class CompilationPlatformInfo
This contains parsed information using Unity configuration about a specific compilation platform.
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.MSBuild
Assembly: cs.temp.dll.dll
Syntax
public class CompilationPlatformInfo
Properties
AdditionalInEditorDefines
These defines are specific for this platform editor build.
Declaration
public HashSet<string> AdditionalInEditorDefines { get; }
Property Value
Type | Description |
---|---|
Hash |
AdditionalInEditorReferences
These references are specific for this platform editor build.
Declaration
public IReadOnlyList<string> AdditionalInEditorReferences { get; }
Property Value
Type | Description |
---|---|
IRead |
AdditionalPlayerDefines
These defines are specific for this platform player build.
Declaration
public HashSet<string> AdditionalPlayerDefines { get; }
Property Value
Type | Description |
---|---|
Hash |
AdditionalPlayerReferences
These references are specific for this platform player build.
Declaration
public IReadOnlyList<string> AdditionalPlayerReferences { get; }
Property Value
Type | Description |
---|---|
IRead |
BuildTarget
The Build
Declaration
public BuildTarget BuildTarget { get; }
Property Value
Type | Description |
---|---|
Build |
BuildTargetGroup
The Build
Declaration
public BuildTargetGroup BuildTargetGroup { get; }
Property Value
Type | Description |
---|---|
Build |
CommonPlatformDefines
These defines are specific for this platform and common or player/editor.
Declaration
public HashSet<string> CommonPlatformDefines { get; }
Property Value
Type | Description |
---|---|
Hash |
CommonPlatformReferences
These references are specific for this platform and common or player/editor.
Declaration
public IReadOnlyList<string> CommonPlatformReferences { get; }
Property Value
Type | Description |
---|---|
IRead |
Name
The name of this compilation platform.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
String |
TargetFramework
The Target
Declaration
public TargetFramework TargetFramework { get; }
Property Value
Type | Description |
---|---|
Target |
Methods
GetCompilationPlatform(AssemblyDefinitionPlatform)
Given a non-editor AssemblyDefinitionPlatform platform, creates an instances of CompilationPlatform fetching defines and references.
Declaration
public static CompilationPlatformInfo GetCompilationPlatform(AssemblyDefinitionPlatform platform)
Parameters
Type | Name | Description |
---|---|---|
Assembly |
platform | The platform to use for parsing. |
Returns
Type | Description |
---|---|
Compilation |
The Compilation |
GetEditorPlatform()
Creates an editor Compilation
Declaration
public static CompilationPlatformInfo GetEditorPlatform()
Returns
Type | Description |
---|---|
Compilation |
The editor Compilation |