fpmake.pp 742 B

123456789101112131415161718192021222324252627282930313233343536
  1. {$ifndef ALLPACKAGES}
  2. {$mode objfpc}{$H+}
  3. program fpmake;
  4. uses fpmkunit;
  5. Var
  6. P : TPackage;
  7. T : TTarget;
  8. begin
  9. With Installer do
  10. begin
  11. {$endif ALLPACKAGES}
  12. P:=AddPackage('tcl');
  13. P.Description := 'Interface unit for invoking Tcl interpreter using a library.';
  14. {$ifdef ALLPACKAGES}
  15. P.Directory:=ADirectory;
  16. {$endif ALLPACKAGES}
  17. P.Version:='3.3.1';
  18. P.SourcePath.Add('src');
  19. P.OSes := AllUnixOSes+AllWindowsOSes+[os2,emx]-[qnx,win16];
  20. if Defaults.CPU=jvm then
  21. P.OSes := P.OSes - [java,android];
  22. T:=P.Targets.AddUnit('tcl80.pp');
  23. P.ExamplePath.Add('tests/');
  24. P.Targets.AddExampleProgram('tcl_demo.pp');
  25. // 'test.tcl
  26. {$ifndef ALLPACKAGES}
  27. Run;
  28. end;
  29. end.
  30. {$endif ALLPACKAGES}