summaryrefslogtreecommitdiff
path: root/packages/fppkg/tests/packages/specific/plugindependencies/plugindependency/fpmake.pp
blob: ad0a5cdd42229d6f93b16933b341ec070cb4f923 (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
{$mode objfpc}{$H+}
program fpmake;

uses fpmkunit;

Var
  P : TPackage;
  T : TTarget;
begin
  With Installer do
    begin
    P:=AddPackage('plugindependency');
    P.Version:='3.2.0rc1';

    P.Author := 'Joost van der Sluis';
    P.License := 'GPL';
    P.HomepageURL := 'www.freepascal.org';
    P.Description := 'Package on which the plugin depends';

    P.Dependencies.Add('fpmkunit');
 
    P.SourcePath.Add('src');
 
    T:=P.Targets.AddUnit('plugindependencyunit.pas');
    Run;
    end;
end.