fpmake.pp 887 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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('opencl');
  13. P.ShortName := 'ocl';
  14. {$ifdef ALLPACKAGES}
  15. P.Directory:=ADirectory;
  16. {$endif ALLPACKAGES}
  17. P.Version:='3.3.1';
  18. P.Author := ' Dmitry "skalogryz" Boyarintsev; Kronos group';
  19. P.License := 'Library: modified BSD, header: LGPL with modification, ';
  20. P.HomepageURL := 'www.freepascal.org';
  21. P.Email := '';
  22. P.Description := 'A OpenCL header';
  23. P.NeedLibC:= true;
  24. P.OSes:=[linux,win64,win32,darwin];
  25. P.CPUs:=[i386,x86_64];
  26. P.Dependencies.Add('opengl');
  27. P.SourcePath.Add('src');
  28. P.IncludePath.Add('src');
  29. T:=P.Targets.AddUnit('cl.pp');
  30. T:=P.Targets.AddUnit('cl_gl.pp');
  31. {$ifndef ALLPACKAGES}
  32. Run;
  33. end;
  34. end.
  35. {$endif ALLPACKAGES}