2
0

fpmake.pp 861 B

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