Skip to content

TBuildEngine.GetCompilerCommand

Gets compiler command for target

Declaration

Source position: fpmkunit.pp line 1452

public 
function GetCompilerCommand(APackage: TPackage; ATarget: TTarget; 
                           Env: TStrings) : string;

procedure GetCompilerCommand(Args: TStrings; APackage: TPackage; 
                            ATarget: TTarget; Env: TStrings);

Description

Constructs the complete compiler command line for compiling the specified target.

The command includes the compiler executable, all necessary options, paths, and parameters required to compile the target successfully.