2
0

fpmake.pp 897 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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('opengles');
  13. {$ifdef ALLPACKAGES}
  14. P.Directory:=ADirectory;
  15. {$endif ALLPACKAGES}
  16. P.Version:='2.7.1';
  17. P.Author := 'Free Pascal Development team';
  18. P.License := 'LGPL with modification';
  19. P.HomepageURL := 'www.freepascal.org';
  20. P.OSes := [darwin,iphonesim,linux,win32,win64,wince];
  21. P.Dependencies.Add('x11',AllUnixOSes-[darwin,iphonesim]);
  22. P.SourcePath.Add('src');
  23. T:=P.Targets.AddUnit('gles11.pp',[darwin,iphonesim]);
  24. T:=P.Targets.AddUnit('gles20.pas',[linux,win32,win64,wince,darwin]);
  25. P.Targets.AddExampleProgram('examples/es2example1.pas');
  26. P.Sources.AddExampleFiles('examples/*',false,'.');
  27. {$ifndef ALLPACKAGES}
  28. Run;
  29. end;
  30. end.
  31. {$endif ALLPACKAGES}