mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-27 03:04:08 +02:00
42 lines
802 B
ObjectPascal
42 lines
802 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:=ADirectory;
|
|
{$endif ALLPACKAGES}
|
|
P.Version:='2.7.1';
|
|
P.OSes:=P.OSes-[embedded];
|
|
P.Dependencies.Add('rtl-objpas');
|
|
P.SourcePath.Add('src');
|
|
|
|
// Sorokin's RegExpr
|
|
T:=P.Targets.AddUnit('regexpr.pas');
|
|
|
|
// RegEx from Joost
|
|
T:=P.Targets.AddUnit('oldregexpr.pp');
|
|
T:=P.Targets.AddUnit('regex.pp');
|
|
|
|
T.ResourceStrings := True;
|
|
|
|
P.ExamplePath.Add('examples');
|
|
P.Targets.AddExampleProgram('testreg1.pp');
|
|
P.Sources.AddExampleFiles('examples/*',false,'.');
|
|
|
|
{$ifndef ALLPACKAGES}
|
|
Run;
|
|
end;
|
|
end.
|
|
{$endif ALLPACKAGES}
|