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 |
---|---|
HashSet<String> |
AdditionalInEditorReferences
These references are specific for this platform editor build.
Declaration
public IReadOnlyList<string> AdditionalInEditorReferences { get; }
Property Value
Type | Description |
---|---|
IReadOnlyList<String> |
AdditionalPlayerDefines
These defines are specific for this platform player build.
Declaration
public HashSet<string> AdditionalPlayerDefines { get; }
Property Value
Type | Description |
---|---|
HashSet<String> |
AdditionalPlayerReferences
These references are specific for this platform player build.
Declaration
public IReadOnlyList<string> AdditionalPlayerReferences { get; }
Property Value
Type | Description |
---|---|
IReadOnlyList<String> |
BuildTarget
The BuildTarget this compilation platform represents.
Declaration
public BuildTarget BuildTarget { get; }
Property Value
Type | Description |
---|---|
BuildTarget |
BuildTargetGroup
The BuildTargetGroup this compilation platform represents.
Declaration
public BuildTargetGroup BuildTargetGroup { get; }
Property Value
Type | Description |
---|---|
BuildTargetGroup |
CommonPlatformDefines
These defines are specific for this platform and common or player/editor.
Declaration
public HashSet<string> CommonPlatformDefines { get; }
Property Value
Type | Description |
---|---|
HashSet<String> |
CommonPlatformReferences
These references are specific for this platform and common or player/editor.
Declaration
public IReadOnlyList<string> CommonPlatformReferences { get; }
Property Value
Type | Description |
---|---|
IReadOnlyList<String> |
Name
The name of this compilation platform.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
String |
TargetFramework
The TargetFramework of this compilation platform.
Declaration
public TargetFramework TargetFramework { get; }
Property Value
Type | Description |
---|---|
TargetFramework |
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 |
---|---|---|
AssemblyDefinitionPlatform | platform | The platform to use for parsing. |
Returns
Type | Description |
---|---|
CompilationPlatformInfo | The CompilationPlatformInfo containing building information for the platform. |
GetEditorPlatform()
Creates an editor CompilationPlatformInfo (think Assembly-CSharp-Editor).
Declaration
public static CompilationPlatformInfo GetEditorPlatform()
Returns
Type | Description |
---|---|
CompilationPlatformInfo | The editor CompilationPlatformInfo. |