Sign in Join
FPDoc Onlineexperiment

TPackage.SaveUnitConfigToFile procedure

Member of TPackagepublicIn unit fpMkUnit

Saves unit configuration to a file

Declaration

pascal
procedure SaveUnitConfigToFile(const AFileName: string; ACPU: TCpu; 
 AOS: TOS)

Arguments

AFileName

Filename to save unit configuration to

ACPU

Target CPU architecture for configuration

AOS

Target operating system for configuration

Description

Saves current unit search paths and configuration settings to a unit configuration file (.fpc) for the specified CPU and OS combination. This file can later be used by the compiler for consistent build settings.

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