blob: 47f3eb07a00c0a351419a2ff0b4373c4231b01ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{$mode objfpc}{$H+}
program fpmake;
uses fpmkunit;
Var
P : TPackage;
T : TTarget;
begin
With Installer do
begin
P:=AddPackage('packagea');
P.Version:='1.2.3';
P.Author := 'Joost vam der Sluis';
P.License := 'GPL';
P.HomepageURL := 'www.freepascal.org';
P.Email := '';
P.Description := 'Transmit-options test-package';
P.SourcePath.Add('src');
P.TransmitOptions.Add('-dPackageA');
P.TransmitOptions.Add('-FaPackageAUnitA');
T:=P.Targets.AddUnit('PackageAUnitA.pas');
Run;
end;
end.
|