TTargets.AddProgram function
Adds a program target to the collection
Declaration
function AddProgram(const AProgramName: string): TTarget
function AddProgram(const AProgramName: string; const OSes: TOSes)
: TTarget
function AddProgram(const AProgramName: string; const CPUs: TCPUS;
const OSes: TOSes): TTargetArguments
AProgramName | Name of the program to add |
OSes | Set of operating systems for this program |
CPUs | Set of CPU architectures for this program |
Function result
Newly created program target
Description
Creates and adds a new program target with the specified name to the target collection. The program will be compiled as an executable and can optionally be restricted to specific CPU architectures and operating systems.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
