mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-26 09:51:36 +01:00
33 lines
520 B
ObjectPascal
33 lines
520 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');
|
|
{$ifdef ALLPACKAGES}
|
|
P.Directory:='tcl';
|
|
{$endif ALLPACKAGES}
|
|
P.Version:='2.2.2-0';
|
|
P.SourcePath.Add('src');
|
|
|
|
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}
|