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

TCommand

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Represents a command to be executed during build

Declaration

Source position: fpmkunit.pp line 380

type TCommand = class(TNamedItem)

public

  destructor Destroy; override;

  

Destructor that cleans up command resources

  function HaveOptions;

  

Check if command has any options

  function CmdLineOptions;

  

Get formatted command line options

  procedure ParseOptions();

  

Parse options from a string

  property SourceFile: string; [rw]

  

Source file for the command

  property DestFile: string; [rw]

  

Destination file for the command

  property Command: string; [rw]

  

Command line to execute

  property Options: TStrings; [rw]

  

Command line options

  property At: TCommandAt; [rw]

  

When to execute the command

  property IgnoreResult: Boolean; [rw]

  

Whether to ignore command execution result

  property BeforeCommand: TNotifyEvent; [rw]

  

Command to execute before this command

  property AfterCommand: TNotifyEvent; [rw]

  

Command to execute after this command

end;

Inheritance

TCommand

  

Represents a command to be executed during build

|

TNamedItem

  

Base class for items with a name property

|

TCollectionItem

|

TPersistent

|

TObject,IFPObserved

Description

Class that encapsulates a command to be executed at specific points during the build process. Stores command information including the executable, arguments, and execution timing.


Documentation generated on: Dec 15 2025