fpmake.pp 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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('symbolic');
  13. {$ifdef ALLPACKAGES}
  14. P.Directory:='symbolic';
  15. {$endif ALLPACKAGES}
  16. P.Version:='2.7.1';
  17. P.Author := 'Marco van de Voort';
  18. P.License := 'LGPL with modification, ';
  19. P.HomepageURL := 'www.freepascal.org';
  20. P.Email := '';
  21. P.Description := 'Expression parser with support for fast evaluation';
  22. P.NeedLibC:= false;
  23. P.OSes:=P.OSes-[embedded];
  24. P.SourcePath.Add('src');
  25. P.IncludePath.Add('src');
  26. T:=P.Targets.AddUnit('symbolic.pas');
  27. with T.Dependencies do
  28. begin
  29. AddInclude('exprstrs.inc');
  30. AddInclude('parsexpr.inc');
  31. AddInclude('symbexpr.inc');
  32. AddInclude('teval.inc');
  33. AddInclude('rearrang.inc');
  34. end;
  35. T.ResourceStrings := True;
  36. P.ExamplePath.Add('examples');
  37. P.Targets.AddExampleProgram('evaltest.pas');
  38. P.Targets.AddExampleProgram('rpnthing.pas');
  39. P.Targets.AddExampleProgram('easyevalexample.pp');
  40. P.Sources.AddDoc('doc/optimization.txt');
  41. P.Sources.AddDoc('doc/symbolic.txt');
  42. {$ifndef ALLPACKAGES}
  43. Run;
  44. end;
  45. end.
  46. {$endif ALLPACKAGES}