fpmake.pp 637 B

1234567891011121314151617181920212223242526272829303132
  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('libgc');
  13. P.ShortName:='libgc';
  14. {$ifdef ALLPACKAGES}
  15. P.Directory:=ADirectory;
  16. {$endif ALLPACKAGES}
  17. P.Version:='3.3.1';
  18. P.SourcePath.Add('src');
  19. P.IncludePath.Add('src');
  20. P.OSes := [linux];
  21. T:=P.Targets.AddUnit('gcmem.pp');
  22. P.ExamplePath.Add('examples');
  23. P.Targets.AddExampleProgram('testcmem.pp');
  24. P.Targets.AddExampleProgram('create_leak.pp');
  25. {$ifndef ALLPACKAGES}
  26. Run;
  27. end;
  28. end.
  29. {$endif ALLPACKAGES}