mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-11-04 11:39:40 +01: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}
 |