Unit 'fpmkunit' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TPackage.ApplyPackageVariantToCompilerOptions

Applies package variant settings to compiler options

Declaration

Source position: fpmkunit.pp line 1053

public procedure TPackage.ApplyPackageVariantToCompilerOptions(

  ACompilerOptions: TStrings

);

Arguments

ACompilerOptions

  

Compiler options to modify with variant settings

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.


Documentation generated on: Dec 15 2025