Add a new command to the collection
Source position: fpmkunit.pp line 424
public function TCommands.AddCommand( |
const Cmd: string |
const Cmd: string; |
const Options: string |
const Cmd: string; |
const Options: string; |
const Dest: string; |
const Source: string |
At: TCommandAt; |
const Cmd: string |
At: TCommandAt; |
const Cmd: string; |
const Options: string |
At: TCommandAt; |
const Cmd: string; |
const Options: string; |
const Dest: string; |
const Source: string |
):TCommand; |
Cmd |
|
Command line executable to run |
Newly created command object
Cmd |
|
Command line executable to run |
Options |
|
Command line options string |
Cmd |
|
Command line executable to run |
Options |
|
Command line options string |
Dest |
|
Destination file path for command operation |
Source |
|
Source file path for command operation |
At |
|
When to execute the command during build process |
Cmd |
|
Command line executable to run |
At |
|
When to execute the command during build process |
Cmd |
|
Command line executable to run |
Options |
|
Command line options string |
At |
|
When to execute the command during build process |
Cmd |
|
Command line executable to run |
Options |
|
Command line options string |
Dest |
|
Destination file path for command operation |
Source |
|
Source file path for command operation |
Creates and adds a new TCommand object to the commands collection. The command can be configured with executable path, options, source and destination files, and execution timing.
Commands are executed during the build process at the specified timing (before or after compilation, installation, etc.).