Skip to content

TPackage.SaveUnitConfigToFile

Saves unit configuration to a file

Declaration

Source position: fpmkunit.pp line 1062

public 
procedure TPackage.SaveUnitConfigToFile(const AFileName: string; 
                                       ACPU: TCpu; AOS: TOS);

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.