Synced
NativeCMakeExecutor.FindOutput
Section titled “NativeCMakeExecutor.FindOutput”
- Selects one declared output while excluding CMake’s compiler probes and other build configurations.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Build.Toolchains
Declaration
Section titled “Declaration”public static string Inno.Build.Toolchains.NativeCMakeExecutor.FindOutput(Inno.Build.Toolchains.NativeBuildContext context, string buildDirectory, string filePattern)Parameters
Section titled “Parameters”Parameter context: The selected configuration and target generator policy.
Parameter buildDirectory: The component-owned CMake intermediate directory.
Parameter filePattern: The component’s exact basename or bounded filename pattern.
Returns
Section titled “Returns”The sole matching output, or an explicit failure for a missing or ambiguous result.
Exceptions
Section titled “Exceptions”Exception T:System.IO.FileNotFoundException: The component did not produce exactly one expected output.