mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 16:39:32 +02:00
42 lines
744 B
ObjectPascal
42 lines
744 B
ObjectPascal
{$ifndef ALLPACKAGES}
|
|
{$mode objfpc}{$H+}
|
|
program fpmake;
|
|
|
|
uses {$ifdef unix}cthreads,{$endif} fpmkunit;
|
|
|
|
Var
|
|
P : TPackage;
|
|
T : TTarget;
|
|
|
|
begin
|
|
With Installer do
|
|
begin
|
|
{$endif ALLPACKAGES}
|
|
|
|
P:=AddPackage('jni');
|
|
{$ifdef ALLPACKAGES}
|
|
P.Directory:=ADirectory;
|
|
{$endif ALLPACKAGES}
|
|
|
|
P.Version:='3.3.1';
|
|
P.OSes := [win32,win64,linux,android];
|
|
|
|
P.Author := 'FreePascal development team';
|
|
P.License := 'LGPL with modification, ';
|
|
P.HomepageURL := 'www.freepascal.org';
|
|
|
|
P.SourcePath.Add('src');
|
|
P.SupportBuildModes := [bmOneByOne];
|
|
|
|
P.Options.Add('-Ur');
|
|
|
|
T:=P.Targets.AddUnit('jni.pas');
|
|
|
|
P.NamespaceMap:='namespaces.lst';
|
|
|
|
{$ifndef ALLPACKAGES}
|
|
Run;
|
|
end;
|
|
end.
|
|
{$endif ALLPACKAGES}
|