mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-12 14:29:34 +02:00
37 lines
742 B
ObjectPascal
37 lines
742 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('tcl');
|
|
P.Description := 'Interface unit for invoking Tcl interpreter using a library.';
|
|
{$ifdef ALLPACKAGES}
|
|
P.Directory:=ADirectory;
|
|
{$endif ALLPACKAGES}
|
|
P.Version:='3.3.1';
|
|
P.SourcePath.Add('src');
|
|
P.OSes := AllUnixOSes+AllWindowsOSes+[os2,emx]-[qnx,win16];
|
|
if Defaults.CPU=jvm then
|
|
P.OSes := P.OSes - [java,android];
|
|
|
|
T:=P.Targets.AddUnit('tcl80.pp');
|
|
|
|
P.ExamplePath.Add('tests/');
|
|
P.Targets.AddExampleProgram('tcl_demo.pp');
|
|
// 'test.tcl
|
|
|
|
{$ifndef ALLPACKAGES}
|
|
Run;
|
|
end;
|
|
end.
|
|
{$endif ALLPACKAGES}
|