Adds an example unit target to the collection
Source position: fpmkunit.pp line 865
public function TTargets.AddExampleUnit( |
const AUnitName: string |
const AUnitName: string; |
const OSes: TOSes |
const AUnitName: string; |
const CPUs: TCPUS; |
const OSes: TOSes |
):TTarget; |
AUnitName |
|
Unit name for the example |
Newly created example unit target
AUnitName |
|
Unit name for the example |
OSes |
|
Target operating systems for example unit |
AUnitName |
|
Unit name for the example |
CPUs |
|
Target CPU architectures for example unit |
OSes |
|
Target operating systems for example unit |
Creates and adds a new example unit target that demonstrates usage patterns and serves as sample code for package functionality.
Example units are typically installed separately from main package units and provide documentation through working code examples.