NativeToolchainSelection.Constructor
Section titled “NativeToolchainSelection.Constructor”
- Captures an immutable, explicit compiler and SDK selection supplied by a platform provider.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Build.Toolchains
Declaration
Section titled “Declaration”public Inno.Build.Toolchains.NativeToolchainSelection.NativeToolchainSelection(string targetId, Inno.Build.Toolchains.BuildHostDescriptor host, System.Collections.Generic.IReadOnlyDictionary<string, string> tools, System.Collections.Generic.IReadOnlyDictionary<string, string> environment, System.Collections.Generic.IEnumerable<string> inputPaths, System.Collections.Generic.IEnumerable<string> cmakeArguments, Inno.Build.Toolchains.NativeLinkPlan linkPlan, bool multiConfiguration, Inno.Build.Toolchains.NativeCompilerInputs? compilerInputs = null)Parameters
Section titled “Parameters”Parameter targetId: The exact native target identity.
Parameter host: The machine on which the selected tools execute.
Parameter tools: Absolute executable paths indexed by explicit command names.
Parameter environment: Frozen SDK values applied to owned tools and in-process binding configuration without changing process state.
Parameter inputPaths: Compiler, SDK and tool files participating in product identity.
Parameter cmakeArguments: Ordered configuration arguments pinning compiler, generator and SDK.
Parameter multiConfiguration: Whether configuration is selected during build rather than configure.
Parameter linkPlan: The sole source of target library formats and linker capabilities.
Parameter compilerInputs: Explicit SDK parser inputs, or null when no native parser is provided.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: The selection is incomplete or has unassigned target facts.
Exception T:System.ArgumentNullException: A required descriptor or collection is null.
Exception T:System.IO.FileNotFoundException: A selected executable or SDK input is unavailable before preparation begins.