Skip to content

TPackage.ApplyPackageVariantToCompilerOptions

Applies package variant settings to compiler options

Declaration

Source position: fpmkunit.pp line 1059

public 
procedure TPackage.ApplyPackageVariantToCompilerOptions
                                                       (ACompilerOptions: TStrings);

Description

ApplyPackageVariantToCompilerOptions modifies the provided compiler options by applying settings from the package variant configuration. Package variants allow customizing compilation parameters for different build scenarios or target configurations.

This method ensures that variant-specific compiler flags, include paths, and other compilation settings are properly applied to the build process.