Adds a new package to the collection
Source position: fpmkunit.pp line 1151
public function TPackages.AddPackage( |
const AName: string |
):TPackage; |
AName |
|
Name for the new package |
Newly created package object
AddPackage creates and adds a new TPackage object to the collection with the specified name. The method returns the newly created package object for further configuration.
Each package in the collection must have a unique name. The created package can then be configured with targets, dependencies, and other package-specific settings.