fpmake.pp 623 B

12345678910111213141516171819202122232425262728293031323334
  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('newt');
  13. {$ifdef ALLPACKAGES}
  14. P.Directory:=ADirectory;
  15. {$endif ALLPACKAGES}
  16. P.Version:='3.2.4-rc1';
  17. P.SourcePath.Add('src');
  18. P.OSes:=[Linux];
  19. T:=P.Targets.AddUnit('newt.pp');
  20. P.ExamplePath.Add('examples');
  21. P.Targets.AddExampleProgram('newt3.pas');
  22. P.Targets.AddExampleProgram('newt2.pas');
  23. P.Targets.AddExampleProgram('newt1.pas');
  24. {$ifndef ALLPACKAGES}
  25. Run;
  26. end;
  27. end.
  28. {$endif ALLPACKAGES}