fpmake.pp 876 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {$ifndef ALLPACKAGES}
  2. {$mode objfpc}{$H+}
  3. program fpmake;
  4. uses fpmkunit;
  5. {$endif ALLPACKAGES}
  6. procedure add_importtl;
  7. Var
  8. P : TPackage;
  9. T : TTarget;
  10. begin
  11. With Installer do
  12. begin
  13. P:=AddPackage('importtl');
  14. P.Author := '<various>';
  15. P.License := 'LGPL with modification';
  16. P.HomepageURL := 'www.freepascal.org';
  17. P.Email := '';
  18. P.Description := 'Reads type information from "file" and converts it into a freepascal binding.';
  19. P.NeedLibC:= false;
  20. P.Dependencies.Add('winunits-base');
  21. P.Dependencies.Add('fcl-base');
  22. P.Dependencies.Add('fcl-registry');
  23. {$ifdef ALLPACKAGES}
  24. P.Directory:='importtl';
  25. {$endif ALLPACKAGES}
  26. P.Version:='2.7.1';
  27. P.OSes:=[win32,win64];
  28. T:=P.Targets.AddProgram('importtl.pas');
  29. end;
  30. end;
  31. {$ifndef ALLPACKAGES}
  32. begin
  33. add_rmwait;
  34. Installer.Run;
  35. end.
  36. {$endif ALLPACKAGES}