mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-03 03:38:37 +02:00
33 lines
548 B
ObjectPascal
33 lines
548 B
ObjectPascal
{$ifndef ALLPACKAGES}
|
|
{$mode objfpc}{$H+}
|
|
program fpmake;
|
|
|
|
uses fpmkunit;
|
|
|
|
Var
|
|
P : TPackage;
|
|
T : TTarget;
|
|
begin
|
|
With Installer do
|
|
begin
|
|
{$endif ALLPACKAGES}
|
|
|
|
P:=AddPackage('gd');
|
|
{$ifdef ALLPACKAGES}
|
|
P.Directory:='libgd';
|
|
{$endif ALLPACKAGES}
|
|
P.Version:='2.2.2-0';
|
|
P.SourcePath.Add('src');
|
|
|
|
T:=P.Targets.AddUnit('gd.pas');
|
|
|
|
P.ExamplePath.Add('tests');
|
|
P.Targets.AddExampleProgram('gdtestcgi.pp');
|
|
P.Targets.AddExampleProgram('gdtest.pp');
|
|
|
|
{$ifndef ALLPACKAGES}
|
|
Run;
|
|
end;
|
|
end.
|
|
{$endif ALLPACKAGES}
|