mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-27 03:43:40 +02:00
33 lines
550 B
ObjectPascal
33 lines
550 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('regexpr');
|
|
{$ifdef ALLPACKAGES}
|
|
P.Directory:='regexpr';
|
|
{$endif ALLPACKAGES}
|
|
P.Version:='2.2.2-0';
|
|
P.SourcePath.Add('src');
|
|
|
|
T:=P.Targets.AddUnit('regexpr.pp');
|
|
T:=P.Targets.AddUnit('regex.pp');
|
|
|
|
P.ExamplePath.Add('tests');
|
|
P.Targets.AddExampleProgram('testreg1.pp');
|
|
|
|
{$ifndef ALLPACKAGES}
|
|
Run;
|
|
end;
|
|
end.
|
|
{$endif ALLPACKAGES}
|