Synced
NativeLinkPlan.Constructor
Section titled “NativeLinkPlan.Constructor”
- Captures explicitly supported library formats and ordered linker configuration.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Build.Toolchains
Declaration
Section titled “Declaration”public Inno.Build.Toolchains.NativeLinkPlan.NativeLinkPlan(string? sharedLibraryExtension = null, string? importLibraryExtension = null, string? staticLibraryExtension = null, System.Collections.Generic.IEnumerable<string>? cmakeArguments = null)Parameters
Section titled “Parameters”Parameter sharedLibraryExtension: The shared-library suffix, or null when shared linkage is unsupported.
Parameter importLibraryExtension: The separate import-library suffix, or null when the shared library is the link input.
Parameter staticLibraryExtension: The archive suffix, or null when static linkage is not contributed.
Parameter cmakeArguments: Ordered platform-owned CMake linker definitions.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: No format is supported, an import format lacks shared linkage, a suffix is invalid, or an argument is null.