blob: 6dc43b054210e09d5d4c7b83cd8fdd929c21d4e4 (
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('PackageB');
P.Version:='3.3.1';
P.Author := 'Joost vam der Sluis';
P.License := 'GPL';
P.HomepageURL := 'www.freepascal.org';
P.Email := '';
P.Description := 'Basic test-package that depends on PackageA';
P.Dependencies.Add('packagea');
P.SourcePath.Add('src');
T:=P.Targets.AddUnit('PackageBUnitB.pas');
Run;
end;
end.
|