fpmake.pp 735 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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('pastojs');
  13. {$ifdef ALLPACKAGES}
  14. P.Directory:=ADirectory;
  15. {$endif ALLPACKAGES}
  16. P.Version:='3.1.1';
  17. P.OSes := AllOses;
  18. P.Dependencies.Add('fcl-js');
  19. P.Dependencies.Add('fcl-passrc');
  20. P.Author := 'Free Pascal development team';
  21. P.License := 'LGPL with modification, ';
  22. P.HomepageURL := 'www.freepascal.org';
  23. P.SourcePath.Add('src');
  24. P.SupportBuildModes := [bmOneByOne];
  25. P.Options.Add('-S2h');
  26. T:=P.Targets.AddUnit('fppas2js.pp');
  27. {$ifndef ALLPACKAGES}
  28. Run;
  29. end;
  30. end.
  31. {$endif ALLPACKAGES}