Adds a program target to the collection
Source position: fpmkunit.pp line 853
public function TTargets.AddProgram( |
const AProgramName: string |
const AProgramName: string; |
const OSes: TOSes |
const AProgramName: string; |
const CPUs: TCPUS; |
const OSes: TOSes |
):TTarget; |
AProgramName |
|
Name of the program to add |
Newly created program target
AProgramName |
|
Name of the program to add |
OSes |
|
Set of operating systems for this program |
AProgramName |
|
Name of the program to add |
CPUs |
|
Set of CPU architectures for this program |
OSes |
|
Set of operating systems for this program |
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.
|
Adds a unit target to the collection |
|
|
Adds a library target to the collection |
|
ttProgram |
|
Executable program target |