mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-08 14:37:22 +01:00
29 lines
420 B
ObjectPascal
29 lines
420 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('newt');
|
|
{$ifdef ALLPACKAGES}
|
|
P.Directory:='newt';
|
|
{$endif ALLPACKAGES}
|
|
P.Version:='2.0.0';
|
|
P.SourcePath.Add('src');
|
|
|
|
T:=P.Targets.AddUnit('newt.pp');
|
|
|
|
{$ifndef ALLPACKAGES}
|
|
Run;
|
|
end;
|
|
end.
|
|
{$endif ALLPACKAGES}
|