fpmake.pp 802 B

123456789101112131415161718192021222324252627282930313233343536373839
  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:='opengles';
  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];
  21. P.SourcePath.Add('src');
  22. T:=P.Targets.AddUnit('gles11.pp',[darwin,iphonesim]);
  23. T:=P.Targets.AddUnit('gles20.pas',[linux,win32,win64,wince,darwin]);
  24. P.Targets.AddExampleProgram('es2example1.pas');
  25. P.Sources.AddExampleFiles('examples/*',false,'.');
  26. {$ifndef ALLPACKAGES}
  27. Run;
  28. end;
  29. end.
  30. {$endif ALLPACKAGES}