fpmake.pp 706 B

1234567891011121314151617181920212223242526272829303132333435
  1. {$ifndef ALLPACKAGES}
  2. {$mode objfpc}{$H+}
  3. program fpmake;
  4. uses {$ifdef unix}cthreads,{$endif} 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:='lgc';
  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. P.NamespaceMap:='namespaces.lst';
  26. {$ifndef ALLPACKAGES}
  27. Run;
  28. end;
  29. end.
  30. {$endif ALLPACKAGES}