Sign in Join
FPDoc Onlineexperiment

TPackage.ApplyPackageVariantToCompilerOptions procedure

Member of TPackagepublicIn unit fpMkUnit

Applies package variant settings to compiler options

Declaration

pascal
procedure 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.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.