Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Selects one declared output while excluding CMake’s compiler probes and other build configurations.

API: engine
Project: Inno.Build.Toolchains

public static string Inno.Build.Toolchains.NativeCMakeExecutor.FindOutput(Inno.Build.Toolchains.NativeBuildContext context, string buildDirectory, string filePattern)

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.

The sole matching output, or an explicit failure for a missing or ambiguous result.

Exception T:System.IO.FileNotFoundException: The component did not produce exactly one expected output.