summaryrefslogtreecommitdiff
path: root/packages/opencl/fpmake.pp
blob: d6d74d7ae7c4f8398e7914dd8a2c86c0ce8379c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{$ifndef ALLPACKAGES}
{$mode objfpc}{$H+}
program fpmake;

uses fpmkunit;

Var
  P : TPackage;
  T : TTarget;
begin
  With Installer do
    begin
{$endif ALLPACKAGES}

    P:=AddPackage('opencl');
{$ifdef ALLPACKAGES}
    P.Directory:=ADirectory;
{$endif ALLPACKAGES}
    P.Version:='3.0.5';
    P.Author := ' Dmitry "skalogryz" Boyarintsev; Kronos group';
    P.License := 'Library: modified BSD, header: LGPL with modification, ';
    P.HomepageURL := 'www.freepascal.org';
    P.Email := '';
    P.Description := 'A OpenCL header';
    P.NeedLibC:= true;
    P.OSes:=[linux,win64,win32,darwin];
    P.CPUs:=[i386,x86_64];

    P.Dependencies.Add('opengl');

    P.SourcePath.Add('src');
    P.IncludePath.Add('src');

    T:=P.Targets.AddUnit('cl.pp');
    T:=P.Targets.AddUnit('cl_gl.pp');

{$ifndef ALLPACKAGES}
    Run;
    end;
end.
{$endif ALLPACKAGES}