NativeComponentBuildOptions.Constructor
Section titled “NativeComponentBuildOptions.Constructor”
- Captures component configuration without selecting an SDK or starting a build.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Build.Toolchains
Declaration
Section titled “Declaration”public Inno.Build.Toolchains.NativeComponentBuildOptions.NativeComponentBuildOptions(Inno.Build.Toolchains.NativeLibraryKind libraryKind, System.Collections.Generic.IEnumerable<string>? cmakeArguments = null, System.Collections.Generic.IEnumerable<string>? inputPaths = null, string? bindingLibraryName = null, System.Collections.Generic.IEnumerable<string>? bindingIncludeDirectories = null, Inno.Build.Toolchains.NativeLinkPlan? linkPlan = null)Parameters
Section titled “Parameters”Parameter libraryKind: The explicitly requested linkage; a recipe must support it before execution starts.
Parameter cmakeArguments: Ordered, unique CMake definitions belonging to this component, excluding SDK and linkage selection.
Parameter inputPaths: Portable checkout-relative configuration files included in content hashing and stability checks.
Parameter linkPlan: Component-specific platform link settings, or null for the selected SDK plan.
Parameter bindingLibraryName: The explicit native import identity, or null to retain the component identity.
Parameter bindingIncludeDirectories: Additional checkout-relative binding headers owned by an integration.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: Linkage is invalid, definitions are ambiguous or override SDK selection, or an input escapes the checkout.