fpmake.pp 551 B

123456789101112131415161718192021222324252627
  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('pxlib');
  13. P.ShortName := 'pxl';
  14. {$ifdef ALLPACKAGES}
  15. P.Directory:=ADirectory;
  16. {$endif ALLPACKAGES}
  17. P.OSes:=[Linux,beos,haiku,win32,freebsd,openbsd,netbsd,dragonfly];
  18. P.Version:='3.3.1';
  19. T:=P.Targets.AddUnit('src/pxlib.pp');
  20. T:=P.Targets.AddExampleunit('examples/ppxview.pp');
  21. {$ifndef ALLPACKAGES}
  22. Run;
  23. end;
  24. end.
  25. {$endif ALLPACKAGES}